diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 90b3666..f624252 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: Ruff +name: PR checks on: pull_request: jobs: @@ -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 .