Skip to content

Commit

Permalink
Enable type checks in CI
Browse files Browse the repository at this point in the history
Nothing tested yet, but turn it on
  • Loading branch information
andreww committed May 12, 2024
1 parent 20b08d8 commit 535c8eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
run: |
python3 -m pylint --fail-under=5 --reports=y earth_model
- name: type checks with mypy
run: |
python -m mypy earth_model
- name: Test with PyTest
run: |
python3 -m pytest --cov=earth_model
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ numpy
pylint
pytest
pytest-cov
mypy
scipy

0 comments on commit 535c8eb

Please sign in to comment.