Skip to content

Commit 0702083

Browse files
Version 0.8.0
* bumping version to 0.8.0 * updating runner versions to macos13 * removing legacy tests as ios 15 is no longer supported by github runners
1 parent bc3d41b commit 0702083

File tree

4 files changed

+4
-38
lines changed

4 files changed

+4
-38
lines changed

.github/workflows/ci.yml

+3-30
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,9 @@ jobs:
3434
with:
3535
name: Test Results (${{ matrix.platform }})
3636
path: .build/derivedData/**/Logs/Test/*.xcresult
37-
xcode-build-legacy:
38-
name: Xcode Build
39-
runs-on: macOS-12
40-
strategy:
41-
matrix:
42-
platform: ['iOS_15']
43-
fail-fast: false
44-
steps:
45-
- name: Checkout Repo
46-
uses: actions/checkout@v4
47-
- uses: ruby/setup-ruby@v1
48-
with:
49-
ruby-version: '3.2.2'
50-
- name: Bundle Install
51-
run: bundle install --gemfile=Example/Gemfile
52-
- name: Prepare Simulator Runtimes
53-
run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
54-
- name: Pod Install
55-
run: bundle exec --gemfile=Example/Gemfile pod install --project-directory=Example
56-
- name: Build and Test
57-
run: Scripts/build.swift xcode ${{ matrix.platform }} `which xcpretty`
58-
- name: Upload Results
59-
uses: actions/upload-artifact@v4
60-
if: failure()
61-
with:
62-
name: Test Results (${{ matrix.platform }})
63-
path: .build/derivedData/**/Logs/Test/*.xcresult
6437
pod-lint:
6538
name: Pod Lint
66-
runs-on: macOS-12
39+
runs-on: macOS-13
6740
steps:
6841
- name: Checkout Repo
6942
uses: actions/checkout@v4
@@ -78,10 +51,10 @@ jobs:
7851
run: bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast
7952
spm:
8053
name: SPM Build
81-
runs-on: macOS-12
54+
runs-on: macOS-13
8255
strategy:
8356
matrix:
84-
platform: ['iOS_15']
57+
platform: ['iOS_16']
8558
fail-fast: false
8659
steps:
8760
- name: Checkout Repo

AccessibilitySnapshot.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AccessibilitySnapshot'
3-
s.version = '0.7.0'
3+
s.version = '0.8.0'
44
s.summary = 'Easy regression testing for iOS accessibility'
55

66
s.homepage = 'https://github.com/CashApp/AccessibilitySnapshot'

Scripts/build.swift

-3
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,13 @@ enum TaskError: Error {
4848
enum Platform: String, CustomStringConvertible {
4949
case iOS_17
5050
case iOS_16
51-
case iOS_15
5251

5352
var destination: String {
5453
switch self {
5554
case .iOS_17:
5655
return "platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro"
5756
case .iOS_16:
5857
return "platform=iOS Simulator,OS=16.4,name=iPhone 14 Pro"
59-
case .iOS_15:
60-
return "platform=iOS Simulator,OS=15.5,name=iPhone 12 Pro"
6158
}
6259
}
6360

Scripts/github/prepare-simulators.sh

-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@ if [[ ${PLATFORMS[*]} =~ 'iOS_16' ]]; then
99
sudo ln -s /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 16.4.simruntime
1010
fi
1111

12-
if [[ ${PLATFORMS[*]} =~ 'iOS_15' ]]; then
13-
sudo ln -s /Applications/Xcode_13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 15.5.simruntime
14-
fi
15-
1612
xcrun simctl list runtimes

0 commit comments

Comments
 (0)