Skip to content

Commit a347c08

Browse files
committed
upload test report to codecov
1 parent 00658a8 commit a347c08

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
name: cobertura.xml
5959
path: cobertura.xml
6060
- name: upload coverage data to codecov.io
61-
uses: codecov/codecov-action@v4
61+
uses: codecov/codecov-action@v5
6262
if: always() # even if previous steps fail, this one needs to be run
6363
with:
6464
token: ${{ secrets.CODECOV_TOKEN }}
@@ -67,6 +67,17 @@ jobs:
6767
name: codecov-umbrella # optional
6868
fail_ci_if_error: true # optional (default = false)
6969
verbose: true # optional (default = false)
70+
- name: upload test report to codecov.io
71+
if: always() # even if previous steps fail, this one needs to be run
72+
uses: codecov/test-results-action@v1
73+
with:
74+
token: ${{ secrets.CODECOV_TOKEN }}
75+
# do not search for coverage files automatically, upload only specified files
76+
disable_search: true
77+
files: tests/unit/out/gcov/junit.xml
78+
name: codecov-umbrella # optional
79+
fail_ci_if_error: true # optional (default = false)
80+
verbose: true # optional (default = false)
7081
##### sanitizer #####
7182
sanitizer:
7283
strategy:

0 commit comments

Comments
 (0)