File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,17 @@ jobs:
5454 run : cargo clippy ${{ join(matrix.features, ' ') }}
5555 - name : Build
5656 run : cargo build --verbose ${{ join(matrix.features, ' ') }}
57- - name : Run tests
58- run : cargo test --tests --verbose ${{ join(matrix.features, ' ') }}
5957 - name : Run doctests
6058 run : cargo test --doc --verbose ${{ join(matrix.features, ' ') }}
59+ - uses : dtolnay/rust-toolchain@stable
60+ with :
61+ components : llvm-tools-preview
62+ - name : Install cargo-llvm-cov
63+ uses : taiki-e/install-action@cargo-llvm-cov
64+ - name : Install nextest
65+ uses : taiki-e/install-action@nextest
66+ - name : Generate code coverage
67+ run : cargo llvm-cov nextest ${{ join(matrix.features, ' ') }} --lcov --output-path lcov.info
6168
6269 build-others :
6370 needs :
You can’t perform that action at this time.
0 commit comments