Skip to content

MAINT use pixi to manage the CI dependencies #6

MAINT use pixi to manage the CI dependencies

MAINT use pixi to manage the CI dependencies #6

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest, macos-12]
environment: [
ci-py310-min-deps, ci-py311-min-deps,
ci-py310-min-optional-deps,
ci-py310-latest-deps, ci-py311-latest-deps, ci-py312-latest-deps,
ci-py312-latest-optional-deps
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.23.0
environments: ${{ matrix.environment }}
# we can freeze the environment and manually bump the dependencies to the
# latest version time to time.
frozen: true
- name: Run tests
run: pixi run -e ${{ matrix.environment }} test
# - name: Upload coverage reports to Codecov
# uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# slug: scikit-learn-contrib/project-template