From 0efb7d1d6dec058f42b29d280214c0ed441554af Mon Sep 17 00:00:00 2001 From: Alex Odawa Date: Tue, 10 Dec 2024 18:24:05 +0100 Subject: [PATCH 1/4] bumping to 0.8.0 --- AccessibilitySnapshot.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AccessibilitySnapshot.podspec b/AccessibilitySnapshot.podspec index fdd02c8c..5ab6744e 100644 --- a/AccessibilitySnapshot.podspec +++ b/AccessibilitySnapshot.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AccessibilitySnapshot' - s.version = '0.7.0' + s.version = '0.8.0' s.summary = 'Easy regression testing for iOS accessibility' s.homepage = 'https://github.com/CashApp/AccessibilitySnapshot' From 3391f640a841a28bad498c12a977d38c004bc753 Mon Sep 17 00:00:00 2001 From: Alex Odawa Date: Tue, 10 Dec 2024 20:48:53 +0100 Subject: [PATCH 2/4] updating runner versions --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40b7988a..d2faabff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: path: .build/derivedData/**/Logs/Test/*.xcresult pod-lint: name: Pod Lint - runs-on: macOS-12 + runs-on: macOS-13 steps: - name: Checkout Repo uses: actions/checkout@v4 @@ -78,10 +78,10 @@ jobs: run: bundle exec --gemfile=Example/Gemfile pod lib lint --verbose --fail-fast spm: name: SPM Build - runs-on: macOS-12 + runs-on: macOS-13 strategy: matrix: - platform: ['iOS_15'] + platform: ['iOS_16'] fail-fast: false steps: - name: Checkout Repo From ebe638be55e2a295dd2edfebcb06a7591b240cad Mon Sep 17 00:00:00 2001 From: Alex Odawa Date: Tue, 10 Dec 2024 20:54:21 +0100 Subject: [PATCH 3/4] removing legacy tests as ios 15 is no longer supported by github runners --- .github/workflows/ci.yml | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2faabff..b0924302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,33 +34,6 @@ jobs: with: name: Test Results (${{ matrix.platform }}) path: .build/derivedData/**/Logs/Test/*.xcresult - xcode-build-legacy: - name: Xcode Build - runs-on: macOS-12 - strategy: - matrix: - platform: ['iOS_15'] - fail-fast: false - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.2.2' - - name: Bundle Install - run: bundle install --gemfile=Example/Gemfile - - name: Prepare Simulator Runtimes - run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }} - - name: Pod Install - run: bundle exec --gemfile=Example/Gemfile pod install --project-directory=Example - - name: Build and Test - run: Scripts/build.swift xcode ${{ matrix.platform }} `which xcpretty` - - name: Upload Results - uses: actions/upload-artifact@v4 - if: failure() - with: - name: Test Results (${{ matrix.platform }}) - path: .build/derivedData/**/Logs/Test/*.xcresult pod-lint: name: Pod Lint runs-on: macOS-13 From caef5954b2052d2c0b7284a7a049f423357b5c79 Mon Sep 17 00:00:00 2001 From: Alex Odawa Date: Tue, 10 Dec 2024 21:50:02 +0100 Subject: [PATCH 4/4] removing ios i5 --- Scripts/build.swift | 3 --- Scripts/github/prepare-simulators.sh | 4 ---- 2 files changed, 7 deletions(-) diff --git a/Scripts/build.swift b/Scripts/build.swift index 4b8aeb8d..5d43d421 100755 --- a/Scripts/build.swift +++ b/Scripts/build.swift @@ -48,7 +48,6 @@ enum TaskError: Error { enum Platform: String, CustomStringConvertible { case iOS_17 case iOS_16 - case iOS_15 var destination: String { switch self { @@ -56,8 +55,6 @@ enum Platform: String, CustomStringConvertible { return "platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro" case .iOS_16: return "platform=iOS Simulator,OS=16.4,name=iPhone 14 Pro" - case .iOS_15: - return "platform=iOS Simulator,OS=15.5,name=iPhone 12 Pro" } } diff --git a/Scripts/github/prepare-simulators.sh b/Scripts/github/prepare-simulators.sh index c8975ab0..305f39ef 100755 --- a/Scripts/github/prepare-simulators.sh +++ b/Scripts/github/prepare-simulators.sh @@ -9,8 +9,4 @@ if [[ ${PLATFORMS[*]} =~ 'iOS_16' ]]; then 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 fi -if [[ ${PLATFORMS[*]} =~ 'iOS_15' ]]; then - 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 -fi - xcrun simctl list runtimes