reverted coverage changes to workflows

This commit is contained in:
epi
2025-12-13 08:57:49 -05:00
parent ec3d439aaf
commit 2ec7cda0d4
2 changed files with 8 additions and 6 deletions

View File

@@ -4,17 +4,19 @@ name: Code Coverage Pipeline
jobs:
coverage:
name: Tarpaulin Coverage
name: LLVM Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-tarpaulin
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov and cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-tarpaulin
tool: cargo-nextest,cargo-llvm-cov
- name: Generate code coverage
run: cargo tarpaulin --all-features --workspace --timeout 300 --out lcov --output-dir .
run: cargo llvm-cov nextest --all-features --no-fail-fast --lcov --retries 4 --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:

View File

@@ -56,6 +56,6 @@ cargo nextest run --all-features --all-targets --no-fail-fast --run-ignored all
[tasks.coverage]
clear = true
script = """
cargo tarpaulin --all-features --workspace --timeout 300 --out html --output-dir target/coverage
echo "Coverage report generated at target/coverage/index.html"
cargo llvm-cov nextest --all-features --no-fail-fast --retries 4 --html
echo "Coverage report generated at target/llvm-cov/html/index.html"
"""