mirror of
https://github.com/epi052/feroxbuster.git
synced 2026-06-04 07:21:12 -03:00
reverted coverage changes to workflows
This commit is contained in:
10
.github/workflows/coverage.yml
vendored
10
.github/workflows/coverage.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
"""
|
||||
Reference in New Issue
Block a user