Skip to content

Instantly share code, notes, and snippets.

@MathVasc
Last active October 23, 2020 14:45
Show Gist options
  • Save MathVasc/85e36d86589743b65c868bd060305b1c to your computer and use it in GitHub Desktop.
Save MathVasc/85e36d86589743b65c868bd060305b1c to your computer and use it in GitHub Desktop.
downloadArtifact
# ...
jobs:
build:
# ...
test:
name: Test Project
needs: build
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Download derived data artifact
uses: actions/download-artifact@v1
with:
name: build
# ...
- name: Test
run: |
set -o pipefail
xcodebuild test-without-building \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
-derivedDataPath build \
| xcpretty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment