-
-
Save laevandus/50d4150a2ad9e1860c4f93422c756971 to your computer and use it in GitHub Desktop.
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
set -o pipefail && env NSUnbufferedIO=YES xcrun xccov view --report --json $RESULT_BUNDLE > $RESULT_JSON | |
CODE_COVERAGE=$(cat $RESULT_JSON | jq '.targets[] | select( .name == "IndexedDataStore" and .executableLines > 0 ) | .lineCoverage') | |
CODE_COVERAGE=$(echo $CODE_COVERAGE*100.0 | bc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment