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 1111 name : lint
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-python@v2
14+ - uses : actions/checkout@v3
15+ - uses : actions/setup-python@v3
1616 - run : python -m pip install --upgrade pip wheel
1717 - run : pip install tox tox-gh-actions
1818 - run : tox -eflake8
3030 fail-fast : false
3131 runs-on : ${{ matrix.os }}
3232 steps :
33- - uses : actions/checkout@v2
34- - uses : actions/setup-python@v2
33+ - uses : actions/checkout@v3
34+ - uses : actions/setup-python@v3
3535 with :
3636 python-version : ${{ matrix.python }}
3737 - run : python -m pip install --upgrade pip wheel
4141 name : coverage
4242 runs-on : ubuntu-latest
4343 steps :
44- - uses : actions/checkout@v2
45- - uses : actions/setup-python@v2
44+ - uses : actions/checkout@v3
45+ - uses : actions/setup-python@v3
4646 - 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
4848 - 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 =
1414[testenv]
1515commands =
1616 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
1818deps =
1919 msgpack
2020 pytest
You can’t perform that action at this time.
0 commit comments