mattpolzin/swift-codecov

Runs simple analysis on swift test codecov output.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
PROJECT_NAMEThe name of the target project. This must be specified if you would like local dependencies (specified by path in the project manifest) to be left out of coverage numbers. If specified, this must be exactly the same spelling as the root folder of the target project.no""
CODECOV_JSONThe location of the JSON file produced by swift test --enable-code-coverageno.build/debug/codecov/*.json
PRINT_STDOUTtrue by default, but if false then will not output the whole codecov table to stdout.notrue
SORT_ORDERfilename by default, but if specified otherwise will apply a sort order to the test coverage table. This is only relevant if PRINT_STDOUT is true. Possible values: filename, +cov, -covnofilename
MINIMUM_COVERAGEBy default, there is no minimum coverage. Set this to make the script fail if the minimum coverage is not met.no
INCLUDE_DEPENDENCIES`false` by default, but if `true` then coverage numbers will include project dependencies.nofalse
INCLUDE_TESTS`false` by default, but if `true` then coverage numbers will include the percentage of the test files themselves that was exercised.nofalse
namedescription
CODECOVOverall code coverage percent.
MINIMUM_COVERAGEJust passing through the `MINIMUM_COVERAGE` input.