ethancaldwell-dev/Swift Coverage Conversion
Converts Swift / Xcode code coverage files for processing with e.g. codecov.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| search-paths | A list of search paths (one per line) that should be used for searching coverage data. | yes | ./.build $HOME/Library/Developer/Xcode/DerivedData |
| output | The path to the output folder to put the converted coverage files in. | yes | ./.swiftcov |
| format | The format to write the coverage files in. Can be 'lcov' or 'txt'. | yes | lcov |
| target-name-filter | A regular expression that is used to filter coverage files by their target names. | no | — |
| ignore-filename-regex | A regular expression that is used to filter coverage files by their filenames. | no | — |
| ignore-conversion-failures | If `true`, conversion failures are ignored. If `fail-on-empty-output` is also set to `true`, the action might still fail if all conversions fail. | yes | false |
| fail-on-empty-output | If `true`, the action fails if no coverage files were found (output is still set to an empty array). | yes | false |
Outputs
| name | description |
|---|---|
| files | The JSON-encoded array of (absolute) file paths that were converted. |