Skip to content

Instantly share code, notes, and snippets.

@MathVasc
Last active October 23, 2020 14:46
Show Gist options
  • Select an option

  • Save MathVasc/f2be9b53fc1d95f0d436fcbee3ecf846 to your computer and use it in GitHub Desktop.

Select an option

Save MathVasc/f2be9b53fc1d95f0d436fcbee3ecf846 to your computer and use it in GitHub Desktop.
buildAndTest
# ...
jobs:
build:
#...
test:
name: Test Project
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Set Gems
run: |
gem install bundler
bundle install
- name: Set Xcode version
uses: maxim-lobanov/setup-xcode@v1.1
with:
xcode-version: 12.1
- name: Test
run: |
set -o pipefail
xcodebuild test \
-scheme iOSGitHubActions \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
| xcpretty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment