bramrahaddian/Swift Coverage Conversion

Converts Swift / Xcode code coverage files for processing with e.g. codecov.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: bramrahaddian/swift-coverage-action@eea8e3028fd33fe447c5bbcc8146f7a4d2d65461 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
search-pathsA list of search paths (one per line) that should be used for searching coverage data.yes./.build $HOME/Library/Developer/Xcode/DerivedData
outputThe path to the output folder to put the converted coverage files in.yes./.swiftcov
formatThe format to write the coverage files in. Can be 'lcov' or 'txt'.yeslcov
target-name-filterA regular expression that is used to filter coverage files by their target names.no
ignore-filename-regexA regular expression that is used to filter coverage files by their filenames.no
ignore-conversion-failuresIf `true`, conversion failures are ignored. If `fail-on-empty-output` is also set to `true`, the action might still fail if all conversions fail.yesfalse
fail-on-empty-outputIf `true`, the action fails if no coverage files were found (output is still set to an empty array).yesfalse
namedescription
filesThe JSON-encoded array of (absolute) file paths that were converted.