[CI/Build] Always run mypy (#10122)

Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Russell Bryant 2024-11-07 11:43:16 -05:00 committed by GitHub
parent 9d43afcc53
commit de0e61a323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,11 +14,16 @@ on:
pull_request: pull_request:
branches: branches:
- main - main
paths: # This workflow is only relevant when one of the following files changes.
- '**/*.py' # However, we have github configured to expect and require this workflow
- '.github/workflows/mypy.yaml' # to run and pass before github with auto-merge a pull request. Until github
- 'tools/mypy.sh' # allows more flexible auto-merge policy, we can just run this on every PR.
- 'pyproject.toml' # It doesn't take that long to run, anyway.
#paths:
# - '**/*.py'
# - '.github/workflows/mypy.yaml'
# - 'tools/mypy.sh'
# - 'pyproject.toml'
jobs: jobs:
mypy: mypy: