Skip to content

Commit a27e1f9

Browse files
committed
Push to codecov
1 parent c9afd9b commit a27e1f9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,15 @@ jobs:
6767

6868
- name: Build Everything
6969
run: cargo build --all-targets
70-
- name: Run tests
71-
run: cargo test --all-targets --verbose
70+
- name: Install cargo-llvm-cov
71+
uses: taiki-e/install-action@cargo-llvm-cov
72+
- name: Generate code coverage
73+
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
74+
- name: Upload coverage to Codecov
75+
uses: codecov/codecov-action@v5
76+
with:
77+
files: lcov.info
78+
fail_ci_if_error: true
7279
# Ensure that no files (most likely the Cargo.lock file) have changed
7380
- name: Unstaged Changes
7481
run: git diff --exit-code

0 commit comments

Comments
 (0)