Skip to content

Commit

Permalink
Enforce mypy on pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyongemallo committed Apr 9, 2024
1 parent 7fe81ef commit 0eb3fbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy==1.9.0
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: mypy
run: |
mypy ${{ env.SRC_DIR }} ${{ env.TEST_DIR }}
- name: pytest
run: |
pytest ${{ env.TEST_DIR }}
Expand Down

0 comments on commit 0eb3fbd

Please sign in to comment.