Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ These parameters are only used when `run-tests-and-coverage` is enabled and are
| `additional-tarpaulin-args` | No | `''` | Additional arguments passed directly to the cargo tarpaulin command. |
| `codecov-flags` | No | `'unittests'` | Flags to pass to Codecov for organizing coverage reports. |
| `codecov-name` | No | `'codecov-umbrella'` | Custom defined name for the coverage upload. |
| `packages` | No | `''` | Multi-line list of package names to test (one per line). If empty, tests all packages in workspace. |

**Note:** The `packages` parameter is passed through to the test action and does not affect which binary is built.

**Note:** The following parameters are used by both this action AND passed through to the test action: `target`, `features`, `no-default-features`, `use-cross`.

Expand Down
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ inputs:
description: "Additional arguments to pass to the cargo tarpaulin command"
required: false
default: ""
packages:
description: "Packages to test (multi-line list). Passed through to devops-rust-test-and-coverage. Selects packages for testing; does not influence the build."
required: false
default: ""
codecov-flags:
description: "Flags to pass to Codecov for organizing coverage reports"
required: false
Expand Down Expand Up @@ -555,3 +559,4 @@ runs:
codecov-flags: ${{ inputs.codecov-flags }}
codecov-name: ${{ inputs.codecov-name }}
additional-tarpaulin-args: ${{ inputs.additional-tarpaulin-args }}
packages: ${{ inputs.packages }}