fix: call fetch on start by default (#38) #177
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
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set Xcode 14.2 | |
run: | | |
sudo xcode-select -switch /Applications/Xcode_14.2.app | |
- name: Carthage Bootstrap | |
run: carthage bootstrap --use-xcframeworks | |
- name: iOS Tests | |
run: | | |
xcodebuild test \ | |
-project Experiment.xcodeproj \ | |
-scheme Experiment \ | |
-sdk iphonesimulator \ | |
-destination 'platform=iOS Simulator,name=iPhone 14,OS=16.2' | |
- name: macOS Tests | |
run: | | |
xcodebuild \ | |
-project Experiment.xcodeproj \ | |
-scheme Experiment \ | |
-sdk macosx \ | |
-destination 'platform=macosx' \ | |
test | |
- name: tvOS Tests | |
run: | | |
xcodebuild \ | |
-project Experiment.xcodeproj \ | |
-scheme Experiment \ | |
-sdk appletvsimulator \ | |
-destination 'platform=tvOS Simulator,name=Apple TV' \ | |
test | |