Skip to content

Commit

Permalink
CI: Do not run mypy_primer on stubtest/stubgen PRs (#12295)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AlexWaygood authored Mar 5, 2022
1 parent c7a8162 commit fce1b54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/mypy_primer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- '**/*.rst'
- '**/*.md'
- 'mypyc/**'
- 'mypy/stubtest.py'
- 'mypy/stubgen.py'
- 'mypy/stubgenc.py'
- 'mypy/test/**'

jobs:
mypy_primer:
Expand Down

0 comments on commit fce1b54

Please sign in to comment.