Skip to content

Commit

Permalink
Install types packages for mypy CI (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Jun 18, 2021
1 parent 292849c commit 6458685
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/subscript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ jobs:
pip install flake8
flake8 src tests
- name: Enforce static typing
run: |
pip install mypy
mypy src/subscript
- name: Install OPM-flow and ResInsight (for testing)
run: |
sudo apt-get install software-properties-common
Expand All @@ -65,6 +60,11 @@ jobs:
pip install --upgrade pip
pip install .[tests,docs]
- name: Enforce static typing
run: |
pip install mypy
mypy src/subscript
- name: List all installed packages
run: pip freeze

Expand Down
6 changes: 5 additions & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ mypy
pytest
pytest-cov
pytest-mock
rstcheck
rstcheck
types-Jinja2
types-PyYAML
types-pkg_resources
types-python-dateutil

0 comments on commit 6458685

Please sign in to comment.