-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor FXIOS-10645 Update Bitrise to use XCode 16.1 (#23211)
* Update Bitrise to use XCode 16.1 * Update npm vulnrability * Add verbose to the swift command * Try edge version * Trying one thing * Update error handling in script * Remove edge version * Run script twice * Update focus * Revert npm change * Test remove shard script * Fix unit tests * Update simulator target * Change simulator * Disable some tests * Compile and test Focus on Github Actions * Use macos-15 runner * Run Focus tests for supported iOS versions * Revert to old workflow name * Update workflow name * Run Firefox smoke tests on Github Actions * Could the device matter? * Disable some more tests * Update danger version * Update package * How about iPad mini * How about using Github Actions to run old iOS versions? * Remove the update address from the smoke test --------- Co-authored-by: Laurie Marceau <[email protected]> Co-authored-by: Clare So <[email protected]> Co-authored-by: mbarone <[email protected]>
- Loading branch information
1 parent
dc532b9
commit 89f5099
Showing
17 changed files
with
156 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
name: "Firefox UI Tests for iOS 15 & 16" | ||
name: "Firefox UI Tests for iOS 15, 16 & 17" | ||
|
||
on: | ||
workflow_dispatch: {} | ||
env: | ||
browser: firefox-ios | ||
xcode_version: 15.4 | ||
ios_version: 17.5 | ||
ios_simulator_default: iPhone 15 | ||
xcode_version: 16.1 | ||
ios_version: 18.1 | ||
ios_simulator_default: iPhone 16 | ||
xcodebuild_scheme: Fennec | ||
xcodebuild_target: Client | ||
test_results_directory: /Users/runner/tmp | ||
|
||
jobs: | ||
compile: | ||
name: Compile | ||
runs-on: macos-14 | ||
runs-on: macos-15 | ||
steps: | ||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
@@ -54,13 +54,15 @@ jobs: | |
|
||
run-smoketests: | ||
name: Run smoke tests | ||
runs-on: macos-14 | ||
runs-on: macos-15 | ||
needs: compile | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 1 | ||
matrix: | ||
include: | ||
- ios_version: 17.5 | ||
ios_simulator: iPhone 15 | ||
- ios_version: 16.4 | ||
ios_simulator: iPhone 14 | ||
- ios_version: 15.5 | ||
|
@@ -78,8 +80,6 @@ jobs: | |
id: xcode | ||
run: | | ||
sudo rm -rf /Applications/Xcode.app | ||
sudo rm -fr /Applications/Xcode_16* | ||
sudo rm -fr /Applications/Xcode_14* | ||
sudo xcode-select -s /Applications/Xcode_${{ env.xcode_version }}.app/Contents/Developer | ||
xcodebuild -version | ||
./checkout.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,17 @@ on: | |
|
||
env: | ||
browser: firefox-ios | ||
xcode_version: 15.4 | ||
ios_version: 17.5 | ||
ios_simulator_default: iPhone 15 | ||
xcode_version: 16.1 | ||
ios_version: 18.1 | ||
ios_simulator_default: iPhone 16 | ||
xcodebuild_scheme: Fennec | ||
xcodebuild_target: Client | ||
test_results_directory: /Users/runner/tmp | ||
|
||
jobs: | ||
compile: | ||
name: Compile | ||
runs-on: macos-14 | ||
runs-on: macos-15 | ||
steps: | ||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
@@ -63,7 +63,7 @@ jobs: | |
fail-fast: false | ||
max-parallel: 1 | ||
matrix: | ||
ios_simulator: ['iPhone 15 Plus', 'iPad Pro 13-inch (M4)'] | ||
ios_simulator: ['iPhone 16', 'iPad mini (A17 Pro)'] | ||
steps: | ||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,17 @@ on: | |
|
||
env: | ||
browser: focus-ios | ||
xcode_version: 15.4 | ||
ios_version: 17.5 | ||
ios_simulator_default: iPhone 15 | ||
xcode_version: 16.1 | ||
ios_version: 18.1 | ||
ios_simulator_default: iPhone 16 | ||
xcodebuild_scheme: Focus | ||
xcodebuild_target: XCUITest | ||
test_results_directory: /Users/runner/tmp | ||
|
||
jobs: | ||
compile: | ||
name: Compile | ||
runs-on: macos-14 | ||
runs-on: macos-15 | ||
steps: | ||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
@@ -49,14 +49,14 @@ jobs: | |
retention-days: 2 | ||
run-tests: | ||
name: Run tests | ||
runs-on: macos-14 | ||
runs-on: macos-15 | ||
needs: compile | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 1 | ||
matrix: | ||
xcodebuild_test_plan: ['SmokeTest'] # , 'FullFunctionalTests'] | ||
ios_simulator: [ 'iPhone 15', 'iPad Pro (12.9-inch) (6th generation)'] | ||
ios_simulator: [ 'iPhone 16', 'iPad (10th generation)'] | ||
steps: | ||
- name: Check out source code | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.