Last active
October 23, 2020 14:44
-
-
Save MathVasc/b2d0a908266c08a0f809453c1dd89054 to your computer and use it in GitHub Desktop.
BuildTestCoverage
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
# ... | |
jobs: | |
build: | |
# ... | |
- name: Build | |
run: | | |
set -o pipefail | |
slather setup | |
xcodebuild build-for-testing \ | |
-scheme iOSGitHubActions \ | |
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \ | |
-derivedDataPath build \ | |
| xcpretty | |
# ... | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment