Skip to content

Instantly share code, notes, and snippets.

@MathVasc
Created October 23, 2020 14:43
Show Gist options
  • Save MathVasc/3b5f4deddadcac546e3050e7fc12edf2 to your computer and use it in GitHub Desktop.
Save MathVasc/3b5f4deddadcac546e3050e7fc12edf2 to your computer and use it in GitHub Desktop.
coverage report
# ...
jobs:
build:
# ...
test:
# ...
- name: Test
run: |
set -o pipefail
xcodebuild test-without-building \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
-derivedDataPath build \
-enableCodeCoverage YES \
| xcpretty
- name: Coverage report
run: slather coverage -x --binary-basename 'iOSGitHubActions'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment