Skip to content

Commit 808911e

Browse files
authored
Merge pull request #151 from synonymdev/test/fix-ci
test: fix CI setup
2 parents 4a95163 + fd1a86b commit 808911e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ios-tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ on:
66
pull_request:
77
branches: [master]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
test:
1115
name: Run Tests
1216
runs-on: macos-15
17+
timeout-minutes: 30
1318

1419
steps:
1520
- name: Checkout repository
@@ -18,7 +23,7 @@ jobs:
1823
- name: Set up Xcode
1924
uses: maxim-lobanov/setup-xcode@v1
2025
with:
21-
xcode-version: latest-stable
26+
xcode-version: '16.4'
2227

2328
- name: Install xcbeautify
2429
run: |
@@ -37,11 +42,15 @@ jobs:
3742
run: |
3843
xcodebuild -resolvePackageDependencies | xcbeautify
3944
45+
- name: Pre-start simulator
46+
run: |
47+
xcrun simctl boot "iPhone 16" || true
48+
4049
- name: Run tests
4150
run: |
4251
set -o pipefail && xcodebuild test \
4352
-scheme Bitkit \
44-
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' \
53+
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
4554
-enableCodeCoverage YES \
4655
-parallel-testing-enabled NO \
4756
| xcbeautify --report junit

0 commit comments

Comments
 (0)