Skip to content

Commit

Permalink
test against more versions of Python in PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rtertiaer committed Dec 4, 2024
1 parent 8b9ee86 commit 42441d6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruff
name: PR checks
on:
pull_request:
jobs:
Expand All @@ -10,8 +10,15 @@ jobs:
mypy:
needs: ruff
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- run: sudo apt install libsystemd-dev
- run: pip install -r requirements.txt
- run: pip install mypy
- run: mypy --install-types --non-interactive --explicit-package-bases --disable-error-code import-untyped .

0 comments on commit 42441d6

Please sign in to comment.