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:
16
justfile
16
justfile
@ -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")]
|
||||
|
Reference in New Issue
Block a user