File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11
11
name : lint
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-python@v2
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-python@v3
16
16
- run : python -m pip install --upgrade pip wheel
17
17
- run : pip install tox tox-gh-actions
18
18
- run : tox -eflake8
30
30
fail-fast : false
31
31
runs-on : ${{ matrix.os }}
32
32
steps :
33
- - uses : actions/checkout@v2
34
- - uses : actions/setup-python@v2
33
+ - uses : actions/checkout@v3
34
+ - uses : actions/setup-python@v3
35
35
with :
36
36
python-version : ${{ matrix.python }}
37
37
- run : python -m pip install --upgrade pip wheel
41
41
name : coverage
42
42
runs-on : ubuntu-latest
43
43
steps :
44
- - uses : actions/checkout@v2
45
- - uses : actions/setup-python@v2
44
+ - uses : actions/checkout@v3
45
+ - uses : actions/setup-python@v3
46
46
- run : python -m pip install --upgrade pip wheel
47
- - run : pip install tox tox-gh-actions codecov
47
+ - run : pip install tox tox-gh-actions
48
48
- run : tox
49
- - run : codecov
49
+ - uses : codecov/codecov-action@v3
50
+ with :
51
+ files : ./coverage.xml
52
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ python =
14
14
[testenv]
15
15
commands =
16
16
pip install -e .
17
- pytest -p no:logging --cov =socketio --cov-branch --cov-report =term-missing
17
+ pytest -p no:logging --cov =socketio --cov-branch --cov-report =term-missing -- cov-report =xml
18
18
deps =
19
19
msgpack
20
20
pytest
You can’t perform that action at this time.
0 commit comments