8000 Revert "Revert "test codecov gha (#8946)" (#8947)" · encode/django-rest-framework@b415ee6 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b415ee6

Browse files
authored
Revert "Revert "test codecov gha (#8946)" (#8947)"
This reverts commit 38a74b4.
1 parent 38a74b4 commit b415ee6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
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/codecov-action@v3.1.0
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)
0