chore(pre-commit.ci): pre-commit autoupdate #122
This file contains hidden or 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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: "Run test across all Python versions" | |
| strategy: | |
| matrix: | |
| environment: [py310, py311, py312] | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup pixi | |
| uses: prefix-dev/[email protected] | |
| with: | |
| pixi-version: v0.46.0 | |
| cache: true | |
| environments: ${{ matrix.environment }} | |
| - run: pixi run -e ${{ matrix.environment }} install | |
| - name: Test | |
| run: pixi run -e ${{ matrix.environment }} test |