We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9afd9b commit a27e1f9Copy full SHA for a27e1f9
.github/workflows/ci.yml
@@ -67,8 +67,15 @@ jobs:
67
68
- name: Build Everything
69
run: cargo build --all-targets
70
- - name: Run tests
71
- run: cargo test --all-targets --verbose
+ - name: Install cargo-llvm-cov
+ 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
79
# Ensure that no files (most likely the Cargo.lock file) have changed
80
- name: Unstaged Changes
81
run: git diff --exit-code
0 commit comments