Skip to content

Commit 2ec7cda

Browse files
committed
reverted coverage changes to workflows
1 parent ec3d439 commit 2ec7cda

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ name: Code Coverage Pipeline
44

55
jobs:
66
coverage:
7-
name: Tarpaulin Coverage
7+
name: LLVM Coverage
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
1111
- uses: dtolnay/rust-toolchain@stable
12-
- name: Install cargo-tarpaulin
12+
with:
13+
components: llvm-tools-preview
14+
- name: Install cargo-llvm-cov and cargo-nextest
1315
uses: taiki-e/install-action@v2
1416
with:
15-
tool: cargo-tarpaulin
17+
tool: cargo-nextest,cargo-llvm-cov
1618
- name: Generate code coverage
17-
run: cargo tarpaulin --all-features --workspace --timeout 300 --out lcov --output-dir .
19+
run: cargo llvm-cov nextest --all-features --no-fail-fast --lcov --retries 4 --output-path lcov.info
1820
- name: Upload coverage to Codecov
1921
uses: codecov/codecov-action@v4
2022
with:

Makefile.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ cargo nextest run --all-features --all-targets --no-fail-fast --run-ignored all
5656
[tasks.coverage]
5757
clear = true
5858
script = """
59-
cargo tarpaulin --all-features --workspace --timeout 300 --out html --output-dir target/coverage
60-
echo "Coverage report generated at target/coverage/index.html"
59+
cargo llvm-cov nextest --all-features --no-fail-fast --retries 4 --html
60+
echo "Coverage report generated at target/llvm-cov/html/index.html"
6161
"""

0 commit comments

Comments
 (0)