summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/mypy.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
index 1315bb5..a83a90c 100644
--- a/.github/workflows/mypy.yml
+++ b/.github/workflows/mypy.yml
@@ -8,6 +8,7 @@ on:
pull_request:
paths:
- "Tools/clinic/**"
+ - "Tools/cases_generator/**"
- ".github/workflows/mypy.yml"
workflow_dispatch:
@@ -25,15 +26,18 @@ concurrency:
jobs:
mypy:
- name: Run mypy on Tools/clinic/
+ strategy:
+ matrix:
+ target: ["Tools/cases_generator", "Tools/clinic"]
+ name: Run mypy on ${{ matrix.target }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
- python-version: "3.x"
+ python-version: "3.11"
cache: pip
- cache-dependency-path: Tools/clinic/requirements-dev.txt
- - run: pip install -r Tools/clinic/requirements-dev.txt
- - run: mypy --config-file Tools/clinic/mypy.ini
+ cache-dependency-path: Tools/requirements-dev.txt
+ - run: pip install -r Tools/requirements-dev.txt
+ - run: mypy --config-file ${{ matrix.target }}/mypy.ini