WIP Migrate to ruff-format, drop support for py<3.11, migrate to uv, … #91
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: | |
| pull_request: | |
| jobs: | |
| unittests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Python Poetry Action | |
| uses: abatilo/actions-poetry@v2.1.3 | |
| with: | |
| poetry-version: "1.6.1" | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "poetry" | |
| - name: Install prerequisites | |
| run: | | |
| poetry install --all-extras | |
| sudo ./scripts/install-taskwarrior.sh | |
| task --version | |
| - name: Run tests | |
| run: poetry run pytest |