Skip to content

Commit 9801cbb

Browse files
committed
update codecov
1 parent ed2d190 commit 9801cbb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
tags:
99
- '*'
1010
pull_request:
11+
env:
12+
LATEST_PY_VERSION: '3.12'
1113

1214
jobs:
1315
tests:
@@ -35,10 +37,10 @@ jobs:
3537
run: tox -e py
3638

3739
- name: Upload Results
38-
if: success()
39-
uses: codecov/codecov-action@v1
40+
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
41+
uses: codecov/codecov-action@v4
4042
with:
4143
file: ./coverage.xml
4244
flags: unittests
43-
name: ${{ matrix.platform }}-${{ matrix.tox-env }}
45+
name: ${{ matrix.python-version }}
4446
fail_ci_if_error: false

0 commit comments

Comments
 (0)