File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,21 @@ jobs:
24
24
python-version : ${{ matrix.python-version }}
25
25
- name : Install dependencies
26
26
run : |
27
+ pip install -U "pip>=21.1"
27
28
pip install -U setuptools
28
- pip install -U tox codecov tox-gh-actions
29
+ pip install -U " tox>=3.23.0,<4" codecov tox-gh-actions coverage
29
30
- name : Log python & pip versions
30
31
run : |
31
32
python --version
32
33
pip --version
33
34
- name : Run unit tests
34
35
run : tox
36
+ - name : " Coverage report"
37
+ run : coverage xml
38
+ - name : " Upload coverage to Codecov"
39
+ uses : " codecov/codecov-action@v1"
40
+ with :
41
+ fail_ci_if_error : true
35
42
linting :
36
43
runs-on : ubuntu-latest
37
44
steps :
42
49
- name : Install dependencies
43
50
run : |
44
51
pip install -U setuptools
45
- pip install -U tox
52
+ pip install -U " tox>=3.23.0,<4"
46
53
- run : tox -e flake8
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ python =
16
16
[testenv:basecommand]
17
17
commands =
18
18
pip --version
19
- pytest --cov-report term-missing --cov jose {posargs}
19
+ pytest --cov-append --cov- report term-missing --cov jose {posargs}
20
20
21
21
22
22
[testenv:pypy3-compatibility]
You can’t perform that action at this time.
0 commit comments