diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82d778b..34e4217 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: run: hatch run style:check - name: Check types - run: hatch run types:check + run: hatch run types.py${{ matrix.python-version }}:check - name: Run static analysis run: hatch fmt --check diff --git a/pyproject.toml b/pyproject.toml index 3a62d5d..3efcb65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,6 +61,9 @@ cov = [ "cov-report", ] +[[tool.hatch.envs.types.matrix]] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] + [tool.hatch.envs.types] extra-dependencies = [ "mypy>=1.0.0",