Skip to content

Commit fce1b54

Browse files
authored
CI: Do not run mypy_primer on stubtest/stubgen PRs (#12295)
PRs that only affect stubtest or stubgen are never going to have any effect on mypy_primer's output, so we can safely skip the CI check for those PRs. The same goes for PRs that only alter files in the tests directory.
1 parent c7a8162 commit fce1b54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/mypy_primer.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- '**/*.rst'
99
- '**/*.md'
1010
- 'mypyc/**'
11+
- 'mypy/stubtest.py'
12+
- 'mypy/stubgen.py'
13+
- 'mypy/stubgenc.py'
14+
- 'mypy/test/**'
1115

1216
jobs:
1317
mypy_primer:

0 commit comments

Comments
 (0)