Skip to content

Bump conda-incubator/setup-miniconda from 3 to 4 (#606) #2986

Bump conda-incubator/setup-miniconda from 3 to 4 (#606)

Bump conda-incubator/setup-miniconda from 3 to 4 (#606) #2986

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-python@v6
- uses: pre-commit/action@v3.0.1
test:
runs-on: ubuntu-latest
strategy:
matrix:
environment: [test-py310, test-py311, test-py312, test-py313, test-py314]
steps:
- uses: actions/checkout@v6.0.2
- uses: prefix-dev/setup-pixi@v0.9.5
with:
environments: ${{ matrix.environment }}
frozen: true # This seems hacky?
- name: Clean git workspace
run: |
git clean -fdx
git reset --hard HEAD
- name: Run tests and generate coverage report
run: |
pixi clean && pixi run -e ${{ matrix.environment }} test-cov
- name: Upload code coverage
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.codecov_token }}
files: ./coverage.xml