Merge pull request #355 from EhPanda-Team/develop #895
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] | |
env: | |
SCHEME_NAME: 'EhPanda' | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app | |
jobs: | |
Test: | |
runs-on: macos-13 | |
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: brew install swiftgen | |
- name: Show Xcode version | |
run: xcodebuild -version | |
- name: Run tests | |
run: xcodebuild clean test | |
-scheme ${{ env.SCHEME_NAME }} -sdk iphonesimulator | |
-destination 'platform=iOS Simulator,name=iPhone 15 Pro' |