Skip to content

Commit 869f583

Browse files
committed
[ci] Update CI to use Reduced test plan
1 parent d6d5ab7 commit 869f583

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ jobs:
4040
- name: Test
4141
env:
4242
scheme: ${{ 'UnitTestApp' }}
43+
test_plan: ${{ 'UnitTestApp_TestPlan_Reduced' }}
4344
platform: ${{ 'iOS Simulator' }}
4445
file_to_build: ${{ 'iOS_SDK/OneSignalSDK/OneSignal.xcodeproj' }}
4546
filetype_parameter: ${{ 'project' }}
4647
run: |
4748
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
4849
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
49-
xcodebuild test-without-building -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"
50+
xcodebuild test-without-building -scheme "$scheme" -testPlan "$test_plan" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"

0 commit comments

Comments
 (0)