fix: fix some typos and add new python site-packages-location field (… #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run_tests: | |
name: ${{ matrix.pixi-environment }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
pixi-environment: | |
- py312 | |
- py311 | |
- py310 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: prefix-dev/[email protected] | |
with: | |
pixi-version: "latest" | |
environments: ${{ matrix.pixi-environment }} | |
- name: run tests | |
run: | | |
pixi run --environment ${{ matrix.pixi-environment }} tests | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Pixi | |
uses: prefix-dev/[email protected] | |
- name: Format and lint | |
run: | | |
pixi run fmt | |
pixi run lint | |
- name: Assert no changes | |
run: git diff --exit-code |