Skip to content

Commit 14b9f4f

Browse files
Upgrade GitHub actions #nolog
1 parent c66d7a9 commit 14b9f4f

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
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
@@ -30,8 +30,8 @@ jobs:
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
@@ -41,9 +41,12 @@ jobs:
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

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ python =
1414
[testenv]
1515
commands=
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
1818
deps=
1919
msgpack
2020
pytest

0 commit comments

Comments
 (0)