Skip to content

Commit b580022

Browse files
authored
Update unit test GitHub workflow (#954)
* Update unit test GitHub workflow * Bump the OS version to 18.5
1 parent 579c021 commit b580022

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/unit_tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Select Xcode version
31-
run: sudo xcode-select -s /Applications/Xcode_16.3.app/Contents/Developer
31+
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
3232

3333
- name: Checkout code
3434
uses: actions/checkout@v4
@@ -55,13 +55,16 @@ jobs:
5555
echo "📂 Contents of .build:"
5656
ls -lah .build || echo ".build directory not found"
5757
58+
- name: List available simulators
59+
run: xcrun simctl list devices available
60+
5861
- name: Build for testing
5962
run: |
6063
set -o pipefail && \
6164
time xcodebuild build-for-testing \
6265
-workspace Trio.xcworkspace \
6366
-scheme "Trio Tests" \
64-
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.4' \
67+
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' \
6568
6669
- name: Check for uncommitted changes
6770
run: |
@@ -104,7 +107,7 @@ jobs:
104107
time xcodebuild test-without-building \
105108
-workspace Trio.xcworkspace \
106109
-scheme "Trio Tests" \
107-
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.4' \
110+
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' \
108111
$([ "$ENABLE_PARALLEL_TESTING" = "true" ] && echo "-parallel-testing-enabled YES") \
109112
2>&1 | tee xcodebuild.log
110113

0 commit comments

Comments
 (0)