amnandabeatty/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
- Activelast commit Jul 9, 2026
- License
- Apache 2.0
Pinned Snippet
uses: amnandabeatty/swift-coverage-action@e1de05d038e5ac0b7855831dda2b5382460870c1 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
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. |