Skip to content

Commit e93995c

Browse files
authored
[CI] Run tests on iOS & tvOS 17 (#323)
1 parent ccb973c commit e93995c

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ jobs:
4747
- [ios, 14]
4848
- [ios, 15]
4949
- [ios, 16]
50+
- [ios, 17]
5051

5152
- [tvos, 13]
5253
- [tvos, 14]
5354
- [tvos, 15]
5455
- [tvos, 16]
56+
- [tvos, 17]
5557

5658
- [macos, 11]
5759
- [macos, 12]
@@ -70,7 +72,9 @@ jobs:
7072
install: true
7173
- platform: [ios, 16]
7274
runtime: iOS 16.4
73-
install: false
75+
xcode: 14.3.1
76+
- platform: [ios, 17]
77+
runtime: iOS 17.0
7478

7579
- platform: [tvos, 13]
7680
runtime: tvOS 13.4
@@ -85,20 +89,21 @@ jobs:
8589
install: true
8690
- platform: [tvos, 16]
8791
runtime: tvOS 16.4
88-
install: false
92+
- platform: [tvos, 17]
93+
runtime: tvOS 17.0
8994

9095
- platform: [macos, 11]
96+
runtime: macOS 11
9197
os: macos-11
9298
xcode: 13.2.1
93-
install: false
9499
- platform: [macos, 12]
100+
runtime: macOS 12
95101
os: macos-12
96102
xcode: 14.2
97-
install: false
98103
- platform: [macos, 13]
104+
runtime: macOS 13
99105
os: macos-13
100-
xcode: 14.3
101-
install: false
106+
xcode: 15.0
102107
steps:
103108
- name: Git Checkout
104109
uses: actions/checkout@v3
@@ -110,7 +115,7 @@ jobs:
110115
github.com/XcodesOrg/xcodes
111116
112117
- name: Select Xcode version
113-
run: sudo xcodes select ${{ matrix.xcode || '14.3' }}
118+
run: sudo xcodes select ${{ matrix.xcode || '15.0' }}
114119

115120
- if: ${{ matrix.install }}
116121
name: Install Required Runtime (${{ matrix.runtime }})
@@ -127,7 +132,7 @@ jobs:
127132
name: Build Showcase
128133
run: fastlane build platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:Showcase
129134

130-
- if: ${{ join(matrix.platform, ' ') != 'ios 13' && join(matrix.platform, ' ') != 'tvos 13' }}
135+
- if: ${{ join(matrix.platform, ' ') != 'ios 13' && join(matrix.platform, ' ') != 'tvos 13' && join(matrix.platform, ' ') != 'ios 17' && join(matrix.platform, ' ') != 'tvos 17' }}
131136
name: Run Tests (Introspect)
132137
run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:Introspect
133138

fastlane/Fastfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ devices = {
66
14 => ["iPhone 12 (14.5)", "iPad Pro (9.7-inch) (14.5)"],
77
15 => ["iPhone SE (3rd generation) (15.5)", "iPad Air (5th generation) (15.5)",],
88
16 => ["iPhone 14 (16.4)", "iPad Pro (11-inch) (4th generation) (16.4)"],
9+
17 => ["iPhone 14 (17.0)", "iPad Pro (11-inch) (4th generation) (17.0)"],
910
},
1011
"tvos" => {
1112
13 => ["Apple TV (13.4)"],
1213
14 => ["Apple TV (14.5)"],
1314
15 => ["Apple TV (15.4)"],
1415
16 => ["Apple TV (16.4)"],
16+
17 => ["Apple TV (17.0)"],
1517
},
1618
}
1719

0 commit comments

Comments
 (0)