Initial commit #1
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
| # Run pytest for different supported python versions | |
| name: Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| env: | |
| TQDM_DISABLE: 1 | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Install dependencies | |
| run: | | |
| uv sync --group dev --python ${{ matrix.python-version }} | |
| - name: Test with pytest | |
| run: | | |
| uv run --python ${{ matrix.python-version }} pytest |