File tree 2 files changed +24
-2
lines changed
2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 45
45
env :
46
46
TOXENV : docs
47
47
48
+ tox_mypy :
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - name : Checkout source tree
52
+ uses : actions/checkout@v2
53
+ - name : Set up Python 3.7
54
+ uses : actions/setup-python@v2
55
+ with :
56
+ python-version : 3.7.9
57
+ - name : Install dependencies
58
+ run : |
59
+ python -m pip install --upgrade pip
60
+ pip install tox==2.4.1
61
+ - name : Test with tox
62
+ run : |
63
+ tox -c py/tox.ini -- --cobertura-xml-report ci || true
64
+ bash <(curl -s https://codecov.io/bash) -f py/ci/cobertura.xml
65
+ env :
66
+ TOXENV : mypy
67
+
48
68
unit_tests :
49
69
runs-on : ubuntu-latest
50
70
steps :
Original file line number Diff line number Diff line change @@ -15,5 +15,7 @@ commands = flake8 {posargs}
15
15
16
16
[testenv:mypy]
17
17
skip_install = true
18
- deps = mypy
19
- commands = mypy
18
+ deps =
19
+ mypy
20
+ lxml
21
+ commands = mypy {posargs}
You can’t perform that action at this time.
0 commit comments