Skip to content

chore: fix release workflow #170

chore: fix release workflow

chore: fix release workflow #170

Workflow file for this run

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