Update test workflow name #2
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: Tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ["3.13", "3.14"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and Setup Python ${{ matrix.python-version }} | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.9.24" | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install project and all dependencies | |
| run: uv sync --locked --all-extras --dev | |
| - name: Run quadrupole tests | |
| run: uv run pytest tests/test_quadrupole.py | |
| - name: Run geometry tests | |
| run: uv run pytest tests/test_geometry.py | |
| - name: Run error handling tests | |
| run: uv run pytest tests/test_errors.py |