Last active
May 31, 2022 12:13
-
-
Save ppeelen/3b6cae0af8c247b85319a38263d97ed6 to your computer and use it in GitHub Desktop.
Generating CodeCov JSON report from CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run tests with enableCodeCov YES, e.g. fastlane scan with code_coverage: true | |
# In your derived_data folder, run the following: | |
xcrun xcresulttool merge Logs/Test/*.xcresult --output-path bundle.xcresult # Combines all the XCResult files | |
xcrun xccov view --report --json bundle.xcresult > CodeCov-report.json # Generates the report into a JSON file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment