Skip to content

Commit 52e6b7c

Browse files
committed
Add upload of code coverage results
1 parent 7cf01fe commit 52e6b7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ jobs:
9191
uses: taiki-e/install-action@nextest
9292
- name: Generate code coverage
9393
run: cargo llvm-cov nextest --all-features --lcov --output-path lcov.info
94+
- name: Upload coverage to Codecov
95+
uses: codecov/codecov-action@v4.0.1
96+
with:
97+
token: ${{ secrets.CODECOV_TOKEN }}
98+
files: lcov.info
99+
fail_ci_if_error: true
94100

95101
build-others:
96102
name: Build on ${{ matrix.os }}

0 commit comments

Comments
 (0)