Merge pull request #305 from superwall/develop #1717
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: Run Tests | |
on: | |
push: | |
paths: | |
- '.github/workflows/tests.yml' | |
- 'project.yml' | |
- '**/*.swift' | |
- '!Examples/**' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-tests: | |
runs-on: macos-15 | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Select Xcode 16.2 | |
run: sudo xcode-select -switch /Applications/Xcode_16.2.app | |
- name: xcodegen | |
uses: xavierLowmiller/[email protected] | |
- name: Run Tests | |
run: | | |
xcodebuild -project SuperwallKit.xcodeproj -scheme SuperwallKit -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 16 Pro' test |