chore: Ampli URL in the README.md #788
Workflow file for this run
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: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
ruby-version: ["2.7"] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set Xcode 14 | |
run: | | |
sudo xcode-select -switch /Applications/Xcode_14.1.app | |
- name: Carthage Bootstrap | |
run: carthage bootstrap --use-xcframeworks | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install Cocoapods | |
run: | | |
gem install bundler -v 2.4.22 | |
bundle config path vendor/bundle | |
bundle install | |
pod install | |
- name: Validate Podfile | |
run: pod lib lint | |
- name: iOS Tests | |
run: | | |
xcodebuild test \ | |
-workspace Amplitude.xcworkspace \ | |
-scheme Amplitude_iOSTests \ | |
-sdk iphonesimulator \ | |
-destination 'platform=iOS Simulator,name=iPhone 14' | |
# - name: macOS Tests @TODO Fix flaky macOS tests and re-enable | |
# run: | | |
# xcodebuild \ | |
# -workspace Amplitude.xcworkspace \ | |
# -scheme Amplitude_macOS \ | |
# -sdk macosx \ | |
# -destination 'platform=macosx' \ | |
# test | |
# - name: tvOS Tests @TODO Fix flaky tvOS tests and re-enable | |
# run: | | |
# xcodebuild \ | |
# -workspace Amplitude.xcworkspace \ | |
# -scheme Amplitude_tvOS \ | |
# -sdk appletvsimulator \ | |
# -destination 'platform=tvOS Simulator,name=Apple TV' \ | |
# test |