1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00

ci: coverage via just

This commit is contained in:
Rob Ede
2024-06-20 02:57:44 +01:00
parent 032aeb6fdb
commit 2a092a19a8
5 changed files with 46616 additions and 4 deletions

View File

@ -40,7 +40,21 @@ test:
# Test workspace code and docs.
[group("test")]
test-all: (test) (test-docs)
test-all: test test-docs
# Test workspace and collect coverage info.
[private]
test-coverage:
cargo {{ toolchain }} llvm-cov nextest --no-report --all-features
cargo {{ toolchain }} llvm-cov --doc --no-report --all-features
# Test workspace and generate Codecov report.
test-coverage-codecov: test-coverage
cargo {{ toolchain }} llvm-cov report --doctests --codecov --output-path=codecov.json
# Test workspace and generate LCOV report.
test-coverage-lcov: test-coverage
cargo {{ toolchain }} llvm-cov report --doctests --lcov --output-path=lcov.info
# Test workspace docs.
[group("test")]