|
|
6 anni fa | |
|---|---|---|
| .. | ||
| Sources | 8ab90e5145 Update the coverage collection to point to the prod database (#3240) | 6 anni fa |
| Tests | c917c87165 fixed "expiclitlySet" typo. (#3853) | 6 anni fa |
| .gitignore | aef87815bb Create a swift utility for uploading project health metrics from Travis (#2612) | 7 anni fa |
| Package.resolved | aef87815bb Create a swift utility for uploading project health metrics from Travis (#2612) | 7 anni fa |
| Package.swift | aef87815bb Create a swift utility for uploading project health metrics from Travis (#2612) | 7 anni fa |
| README.md | a5a459e87f Add support for uploading metrics to the database (#2900) | 7 anni fa |
A swift utility for collecting project health metrics on Travis and uploading to a database. It currently only supports parsing a Code Coverage report generated from XCov.
Make sure that a valid database.config is in the current directory.
host:<Cloud SQL IP address>
database:<Database Name>
user:<Username>
password:<Password>
Use the following commands to build and run. This will parse the example coverage report and upload the results to the database.
swift build
.build/debug/Metrics -c Tests/MetricsTests/example_report.json -p 99
swift test