From bdd0e48b07be7281eb8e7996c5bbc4a68e345721 Mon Sep 17 00:00:00 2001 From: Ryan Tasson Date: Wed, 4 Dec 2024 13:52:56 -0500 Subject: [PATCH] test against more versions of Python in PR workflow --- .github/workflows/pr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 90b3666..18a1f3d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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: 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 .