mypy #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mypy | |
# NB: this will run even if docker-test-build fails | |
on: | |
workflow_run: | |
workflows: | |
- docker-test-build | |
types: | |
- completed | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download and run docker image | |
uses: ./.github/actions/download-docker-artifact | |
with: | |
repo-read-token: ${{ secrets.GH_PAT }} | |
- name: mypy | |
run: docker exec test python -m mypy . --exclude '/tests/' | |
- name: Save result | |
if: always() | |
uses: ./.github/actions/save-workflow-result | |
with: | |
result: ${{ job.status }} |