File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -15,28 +15,26 @@ jobs:
1515 LLVM_PROFILE_FILE : " coverage-%p-%m.profraw"
1616
1717 steps :
18- # Checkout the repo
1918 - name : Checkout code
2019 uses : actions/checkout@v4
2120
22- # Install Rust toolchain (stable)
2321 - name : Set up Rust
2422 uses : dtolnay/rust-toolchain@stable
2523 with :
2624 toolchain : stable
2725 components : llvm-tools-preview
2826
29- # Build and test with coverage instrumentation
27+ - name : Install system deps
28+ run : sudo apt-get update && sudo apt-get install -y build-essential clang lld
29+
3030 - name : Run tests
3131 run : |
3232 cargo build --all-features
3333 cargo test --all-features
3434
35- # Install grcov
3635 - name : Install grcov
3736 run : cargo install grcov
3837
39- # Generate lcov report
4038 - name : Generate coverage report
4139 run : |
4240 mkdir -p coverage
5048 --ignore "/*" \
5149 -o coverage/tests.lcov
5250
53- # Upload to Codecov
5451 - name : Upload coverage to Codecov
5552 uses : codecov/codecov-action@v4
5653 with :
You can’t perform that action at this time.
0 commit comments