Update destination.yml
This commit is contained in:
@@ -8,13 +8,18 @@ jobs:
|
|||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Set up dummy Xcode project
|
||||||
uses: actions/checkout@v3
|
run: |
|
||||||
|
mkdir DummyApp
|
||||||
|
cd DummyApp
|
||||||
|
echo '' > main.swift
|
||||||
|
swift package init --type executable
|
||||||
|
swift package generate-xcodeproj
|
||||||
|
mv DummyApp.xcodeproj Test.xcodeproj
|
||||||
|
|
||||||
- name: Run xcodebuild with invalid simulator
|
- name: Try running tests on unavailable simulator
|
||||||
run: |
|
run: |
|
||||||
xcodebuild -project Test.xcodeproj \
|
xcodebuild -project Test.xcodeproj \
|
||||||
-scheme DEV \
|
-scheme DummyApp \
|
||||||
-destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest' \
|
-destination 'platform=iOS Simulator,name=iPhone 16 Pro,OS=latest' \
|
||||||
-testPlan UnitTests \
|
|
||||||
build-for-testing
|
build-for-testing
|
||||||
|
|||||||
Reference in New Issue
Block a user