Bump the dev-dependencies group with 3 updates (#850) #2837
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: Python tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Run Code Checks and Tests with Minimum Dependencies | |
| runs-on: "ubuntu-latest" | |
| strategy: | |
| matrix: | |
| python-version: | |
| - "3.12" | |
| - "3.13" | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install CI/CD dependencies (excluding dev dependencies) | |
| run: make ci-install | |
| # Run the tests before the linting and formatting checks to ensure that dev dependencies are not required for the tests. | |
| - name: Run tests with pytest | |
| run: make test | |
| - name: Run linting checks with ruff | |
| run: make lint | |
| - name: Run formatting checks with ruff | |
| run: make format | |
| - name: Run type checks with mypy | |
| run: make typecheck |