reloaded-project/Test Rust Library and Upload Coverage

Runs tests for a Rust library using Tarpaulin and uploads the coverage to Codecov.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
rust-project-pathDirectory containing Cargo.toml (crate root or workspace root)no.
rust-toolchainRust toolchain to use for building and testing (e.g., stable, nightly, 1.75.0, nightly-2024-02-08)nostable
targetThe target platform for the Rust compilerno""
install-rust-toolchainWhether to install the specified Rust toolchainnotrue
setup-rust-cacheWhether to set up Rust cachingnotrue
cache-workspace-cratesWhether rust-cache should cache workspace cratesnotrue
cache-directoriesAdditional directories to cache, relative to rust-project-path unless absolute. The rustdoc directory is cached automatically.no""
use-tarpaulinWhether to use Tarpaulin for code coverage. If false, only runs tests.notrue
use-binstallWhether to use cargo-binstall for installing components like tarpaulin. If false, uses cargo install.notrue
install-binstallWhether to install cargo-binstall. If false, assumes it is already available in the environment.notrue
upload-coverageWhether to upload coverage to Codecovnotrue
codecov-tokenCodecov token for uploading coverageno
codecov-flagsFlags to pass to Codecovnounittests
codecov-nameCustom defined name for the uploadnocodecov-umbrella
featuresSpace-separated list of features to enable during testingno""
no-default-featuresDisable default features during testingnofalse
use-crossUse cross-rs for testing. If false, use cargo.nofalse
additional-test-argsAdditional arguments to pass to the cargo test commandno""
additional-tarpaulin-argsAdditional arguments to pass to the cargo tarpaulin commandno""
pre-test-commandBash command to run before executing testsno""
packagesMulti-line list of package names to test (one per line). If empty, tests all packages in workspace (--all)no""

no outputs