Skip to content

Commit

Permalink
ci: Build most UI tests with Xcode 14 (#3062)
Browse files Browse the repository at this point in the history
As you can only submit apps to the App Store with Xcode 14, there is no
need to build all the UI tests with Xcode 13.
  • Loading branch information
philipphofmann authored May 26, 2023
1 parent 60bfc91 commit 760d953
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/saucelabs-UI-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ on:

jobs:
build-ui-tests:
name: Build UITests with Xcode ${{matrix.xcode}}
runs-on: ${{matrix.runs-on}}
name: Build UITests
runs-on: ${{ matrix.runs-on }}

strategy:
matrix:
include:
- runs-on: macos-12
xcode: '13.4.1'

- runs-on: macos-12
xcode: '14.2'

- runs-on: macos-13
xcode: '14.3'
steps:
- uses: actions/checkout@v3
- run: ./scripts/ci-select-xcode.sh ${{matrix.xcode}}
Expand Down Expand Up @@ -84,26 +85,26 @@ jobs:
path: |
**/Test-iphoneos/iOS-Swift.app
**/Test-iphoneos/iOS-SwiftUITests-Runner.app
run-ui-tests-with-sauce:
name: Run UI Tests for iOS ${{ matrix.suite }} on Sauce Labs
name: Run UI Tests for ${{ matrix.suite }} on Sauce Labs
runs-on: ubuntu-latest
needs: build-ui-tests
strategy:
fail-fast: false
matrix:
include:
- xcode: '14.2'
- xcode: '14.3'
suite: 'iOS-16'

- xcode: '13.4.1'
- xcode: '14.3'
suite: 'iOS-15'

# We want to test the frame tracker at 120 fps
- xcode: '13.4.1'
- xcode: '14.3'
suite: 'iPhone-Pro'

- xcode: '13.4.1'
- xcode: '14.3'
suite: 'iOS-14'

- xcode: '13.4.1'
Expand All @@ -117,7 +118,7 @@ jobs:

- uses: actions/download-artifact@v3
with:
name: DerivedData-Xcode-${{matrix.xcode}}
name: DerivedData-Xcode-${{ matrix.xcode }}

- run: npm install -g saucectl@0.107.2

Expand Down

0 comments on commit 760d953

Please sign in to comment.