Skip to content

Move to pixi (#131) #564

Move to pixi (#131)

Move to pixi (#131) #564

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: ${{ matrix.pixi-environment }} - ${{ matrix.os }}
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
pixi-environment: ["py39", "py310", "py311", "py312"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.5.2
with:
manifest-path: pyproject.toml
- name: Test with pytest
run: pixi run test-ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}