Skip to content

Commit

Permalink
build($mypy): install mypy types before running mypy type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed May 5, 2023
1 parent 9dc5c64 commit 7f600d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
- run: pipenv run isort --recursive --diff .
- run: pipenv run black --check .
- run: pipenv run flake8
- name: Install mypy types
run: |
yes | pipenv run mypy --install-types \
|| test $? -eq 2 && echo "Installed mypy types successfully" \
|| echo "Failed to install mypy types"
- run: pipenv run mypy
- name: Python Tests with pytest
run: LOG_LEVEL=INFO pipenv run pytest --cov --cov-fail-under=90 --capture=no --log-cli-level=INFO -n auto
Expand Down

0 comments on commit 7f600d2

Please sign in to comment.