Skip to content

Commit 6845228

Browse files
authored
test codecov gha (#8946)
1 parent 0d6ef03 commit 6845228

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/main.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
tests:
1111
name: Python ${{ matrix.python-version }}
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313

1414
strategy:
1515
matrix:
@@ -34,7 +34,7 @@ jobs:
3434
run: python -m pip install --upgrade pip setuptools virtualenv wheel
3535

3636
- name: Install dependencies
37-
run: python -m pip install --upgrade codecov tox
37+
run: python -m pip install --upgrade tox
3838

3939
- name: Install tox-py
4040
if: ${{ matrix.python-version == '3.6' }}
@@ -54,5 +54,8 @@ jobs:
5454
tox -e base,dist,docs
5555
5656
- name: Upload coverage
57-
run: |
58-
codecov -e TOXENV,DJANGO
57+
- uses: codecov/[email protected]
58+
with:
59+
flags: unittests # optional
60+
fail_ci_if_error: true # optional (default = false)
61+
verbose: true # optional (default = false)

0 commit comments

Comments
 (0)