@@ -48,28 +48,30 @@ To use this action in your GitHub workflow, add the following step:
4848 no-default-features : false
4949 use-cross : false
5050 additional-test-args : ' --ignored --test-threads=1'
51+ additional-tarpaulin-args : ' --exclude-files "*/tests/*"'
5152` ` `
5253
5354## Inputs
5455
55- | Input | Description | Required | Default |
56- | ------------------------ | -------------------------------------------------------------------------------------------------- | -------- | -------------------- |
57- | ` rust-project-path` | Path to the Rust project | No | `'.'` |
58- | `rust-toolchain` | Rust toolchain to use for building and testing (e.g., stable, nightly, 1.75.0, nightly-2024-02-08) | No | `'stable'` |
59- | `target` | The target platform for the Rust compiler | No | `''` |
60- | `install-rust-toolchain` | Whether to install the specified Rust toolchain | No | `true` |
61- | `setup-rust-cache` | Whether to set up Rust caching | No | `true` |
62- | `use-tarpaulin` | Whether to use Tarpaulin for code coverage. If false, only runs tests. | No | `true` |
63- | `use-binstall` | Use `cargo-binstall` for installing tarpaulin. Else uses cargo install. | No | `true` |
64- | `install-binstall` | Installs `cargo-binstall`. If false, assumes it is already available. | No | `true` |
65- | `upload-coverage` | Whether to upload coverage to Codecov (only when using `cargo` and Tarpaulin) | No | `true` |
66- | `codecov-token` | Codecov token for uploading coverage | No | N/A |
67- | `codecov-flags` | Flags to pass to Codecov | No | `'unittests'` |
68- | `codecov-name` | Custom defined name for the upload | No | `'codecov-umbrella'` |
69- | `features` | Space-separated list of features to enable during testing | No | `''` |
70- | `no-default-features` | Disable default features during testing | No | `false` |
71- | `use-cross` | Use cross-rs for testing. If false, use cargo. | No | `false` |
72- | `additional-test-args` | Additional arguments to pass to the cargo test command | No | `''` |
56+ | Input | Description | Required | Default |
57+ | --------------------------- | -------------------------------------------------------------------------------------------------- | -------- | -------------------- |
58+ | ` rust-project-path` | Path to the Rust project | No | `'.'` |
59+ | `rust-toolchain` | Rust toolchain to use for building and testing (e.g., stable, nightly, 1.75.0, nightly-2024-02-08) | No | `'stable'` |
60+ | `target` | The target platform for the Rust compiler | No | `''` |
61+ | `install-rust-toolchain` | Whether to install the specified Rust toolchain | No | `true` |
62+ | `setup-rust-cache` | Whether to set up Rust caching | No | `true` |
63+ | `use-tarpaulin` | Whether to use Tarpaulin for code coverage. If false, only runs tests. | No | `true` |
64+ | `use-binstall` | Use `cargo-binstall` for installing tarpaulin. Else uses cargo install. | No | `true` |
65+ | `install-binstall` | Installs `cargo-binstall`. If false, assumes it is already available. | No | `true` |
66+ | `upload-coverage` | Whether to upload coverage to Codecov (only when using `cargo` and Tarpaulin) | No | `true` |
67+ | `codecov-token` | Codecov token for uploading coverage | No | N/A |
68+ | `codecov-flags` | Flags to pass to Codecov | No | `'unittests'` |
69+ | `codecov-name` | Custom defined name for the upload | No | `'codecov-umbrella'` |
70+ | `features` | Space-separated list of features to enable during testing | No | `''` |
71+ | `no-default-features` | Disable default features during testing | No | `false` |
72+ | `use-cross` | Use cross-rs for testing. If false, use cargo. | No | `false` |
73+ | `additional-test-args` | Additional arguments to pass to the cargo test command | No | `''` |
74+ | `additional-tarpaulin-args` | Additional arguments to pass to the cargo tarpaulin command | No | `''` |
7375
7476# # Example Workflow
7577
0 commit comments