Skip to content

Commit

Permalink
run mypy as part of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jornbr committed Dec 9, 2024
1 parent 080d6e4 commit 36261f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/fabm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ jobs:
python -c "import pyfabm;print('pyfabm version =', getattr(pyfabm, '__version__', None))"
for f in testcases/*.yaml; do fabm_describe_model $f; done
for f in testcases/*.yaml; do fabm_complete_yaml --add_missing $f; done
- name: Type checking with mypy
run: |
conda install mypy
mypy src/pyfabm
- name: Run notebooks
if: matrix.python-version != '3.7' # due to https://github.com/conda-forge/webcolors-feedstock/issues/26
run: |
Expand Down

0 comments on commit 36261f4

Please sign in to comment.