Skip to content

Commit 01bda48

Browse files
committed
Change codecov upload
Signed-off-by: Gabriele Santomaggio <g.santomaggio@gmail.com>
1 parent 94cadac commit 01bda48

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,13 @@ jobs:
6666
uses: taiki-e/install-action@cargo-llvm-cov
6767
- name: Generate code coverage
6868
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info --ignore-filename-regex benchmark
69-
- name: Upload code coverage to Codecov
70-
run: bash <(curl -s https://codecov.io/bash)
69+
- name: Codecov
70+
uses: codecov/codecov-action@v4.5.0
71+
with:
72+
fail_ci_if_error: false
73+
name: codecov-umbrella # optional
74+
verbose: true # optional (default = false)
75+
env:
76+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
77+
78+

0 commit comments

Comments
 (0)