Skip to content

Commit 4ff1046

Browse files
committed
codecov
1 parent 91dfc6e commit 4ff1046

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,28 @@ jobs:
5555
name: cobertura.xml
5656
path: cobertura.xml
5757
- name: upload coverage data to codecov.io
58-
uses: codecov/codecov-action@v4
59-
if: always() # even if previous steps fails, this one needs to be run
58+
uses: codecov/codecov-action@v5
59+
if: always() # even if previous steps fail, this one needs to be run
6060
with:
6161
token: ${{ secrets.CODECOV_TOKEN }}
62+
# do not search for coverage files automatically, upload only specified files
63+
disable_search: true
6264
files: cobertura.xml
6365
# flags: unittests # optional
6466
name: codecov-umbrella # optional
6567
fail_ci_if_error: true # optional (default = false)
6668
verbose: true # optional (default = false)
69+
- name: upload test report to codecov.io
70+
if: always() # even if previous steps fail, this one needs to be run
71+
uses: codecov/test-results-action@v1
72+
with:
73+
token: ${{ secrets.CODECOV_TOKEN }}
74+
# do not search for coverage files automatically, upload only specified files
75+
disable_search: true
76+
files: tests/unit/out/gcov/junit.xml
77+
name: codecov-umbrella # optional
78+
fail_ci_if_error: true # optional (default = false)
79+
verbose: true # optional (default = false)
6780
##### sanitizer #####
6881
sanitizer:
6982
strategy:

0 commit comments

Comments
 (0)