File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 44
44
run : tox -e docs
45
45
env :
46
46
PYTHON_ISAL_LINK_DYNAMIC : True
47
+ mypy :
48
+ needs : lint
49
+ runs-on : ubuntu-20.04
50
+ steps :
51
+
52
+ with :
53
+ submodules : recursive
54
+ - name : Set up Python 3.6
55
+
56
+ with :
57
+ python-version : 3.6
58
+ - name : Install isal
59
+ run : sudo apt-get install libisal-dev
60
+ - name : Install tox and upgrade setuptools and pip
61
+ run : pip install --upgrade tox setuptools pip
62
+ - name : Mypy checks
63
+ run : tox -e mypy
64
+ env :
65
+ PYTHON_ISAL_LINK_DYNAMIC : True
47
66
twine_check :
48
67
needs : lint
49
68
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -42,10 +42,15 @@ commands=
42
42
# pytest dep needed for mypy check
43
43
deps =flake8
44
44
flake8-import-order
45
- mypy
46
- pytest
45
+ skip_install =True
47
46
commands =
48
47
flake8 src tests setup.py benchmark.py
48
+
49
+ [testenv:mypy]
50
+ # pytest dep needed for mypy check
51
+ deps =mypy
52
+ pytest
53
+ commands =
49
54
mypy src/ tests/
50
55
51
56
# Documentation should build on python version 3
You can’t perform that action at this time.
0 commit comments