Created
August 5, 2020 22:38
-
-
Save 0xLeif/e45b44ef493fa38f531602878eb8081f to your computer and use it in GitHub Desktop.
Swift iOS GitHub Action
This file contains hidden or 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
iOS: | |
runs-on: macOS-latest | |
steps: | |
- name: Select latest available Xcode | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: latest | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
# Since we want to be running our tests from Xcode, we need to | |
# generate an .xcodeproj file. Luckly, Swift Package Manager has | |
# build in functionality to do so. | |
- name: Generate xcodeproj | |
run: swift package generate-xcodeproj | |
# Finally, we invoke xcodebuild to run the tests on an iPhone 11 | |
# simulator. | |
- name: Run tests | |
run: xcodebuild test -destination 'name=iPhone 11' -scheme 'fluent-kit-Package' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment