Skip to content

Commit 3514dfd

Browse files
fix: resolve CI coverage tool compatibility issues
- Update CI workflow to use --tests flag with cargo llvm-cov - This ensures the testing module is properly available during coverage analysis - Maintains backward compatibility with existing test structure Addresses the 'file not found for module testing' error during coverage generation
1 parent e507d20 commit 3514dfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
run: cargo install cargo-llvm-cov
101101

102102
- name: Generate coverage
103-
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
103+
run: cargo llvm-cov --tests --all-features --workspace --lcov --output-path lcov.info
104104

105105
- name: Upload coverage to Codecov
106106
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)