Add pyproject.toml for project configuration, migrate to hatchling, move pixi.toml data to pyproject.toml and bump Python version used in ruff.toml #2
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Setup Pixi | |
| uses: prefix-dev/setup-pixi@28eb668aafebd9dede9d97c4ba1cd9989a4d0004 # v0.9.2 | |
| with: | |
| pixi-version: latest | |
| cache: true | |
| - name: Check formatting | |
| run: pixi run fmt-check | |
| - name: Run linter | |
| run: pixi run lint-check | |
| - name: Run tests | |
| run: pixi run test |