Chore: Simplify biome pre-commit hook #508
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: [master, develop] | |
| pull_request: | |
| branches: [master, develop] | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: ['3.11', '3.12', '3.13', "3.14"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run pre-commit checks on all files | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pre-commit | |
| pre-commit run --all-files | |
| - name: Install Dependencies | |
| run: | | |
| pip install -r requirements.txt | |
| # Should we have some tests with only requirements.txt? | |
| pip install -r requirements-dev.txt | |
| - name: Run Tests | |
| run: | | |
| pytest | |
| env: | |
| PYTHONPATH: . |