Skip to content

Commit 3d41f7b

Browse files
committed
Fix CI mypy runs
1 parent e88606a commit 3d41f7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
continue-on-error: ${{ matrix.ignore-typecheck-outcome }}
9393
run: |
9494
source .venv/bin/activate
95-
tox -e mypy
95+
tox -f "${{ matrix.toxfactor }}-mypy"
9696
- name: Test with tox
9797
continue-on-error: ${{ matrix.ignore-test-outcome }}
9898
run: |

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
distshare = {homedir}/.tox/distshare
33
envlist = py{3.9,3.10,3.11,3.12,3.13,3.14}-pytest{7.3,7.4,8.0,8.1,8.2,8.3,8.4,latest,main}
44
py{3.9,3.10,3.11}-pytest{7.0,7.1,7.2}
5-
mypy
5+
py{3.9,3.10,3.11,3.12,3.13,3.14}-mypy
66

77
[testenv]
88
parallel_show_output = true
@@ -26,7 +26,7 @@ deps =
2626
coverage[toml]
2727

2828

29-
[testenv:mypy]
29+
[testenv:py{3.9,3.10,3.11,3.12,3.13,3.14,3.15,3.16,3.17,3.18,3.19}-mypy]
3030
allowlist_externals = mypy
3131
commands = mypy {posargs:pytest_factoryboy}
3232

0 commit comments

Comments
 (0)