Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update macOS runner #67595

Draft
wants to merge 27 commits into
base: trunk
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4075cf4
Update Android runner to macos-13 and removes the appium drivers cache
Jan 11, 2024
5893418
Updates iOS runner to Xcode 15.1 and removes appium drivers cache
Jan 11, 2024
4ff658c
Updates capabilities to iOS 17
Jan 11, 2024
025de06
Update clickBeginningOfElement helper to take into account the paddin…
Jan 10, 2024
487c6d1
Update height size expectation to add an extra 1 pixel value
Jan 10, 2024
f123140
Remove Appium home path usage
Jan 11, 2024
1427ce6
Updates Appium to 2.1.3
Jan 11, 2024
40355e5
Update Device config for SauceLabs
Jan 11, 2024
7345071
ci: Reinstate Appium home directory usage
dcalhoun Dec 4, 2024
10d96dd
ci: Reinstate test setup cache
dcalhoun Dec 4, 2024
18f00e4
test: E2E test setup script ensures Android package is installed
dcalhoun Dec 5, 2024
74d19dc
test: Update XCUITest version
dcalhoun Dec 5, 2024
9d26902
Revert "ci: Reinstate test setup cache"
dcalhoun Dec 5, 2024
0bcfb6f
ci: Increment Appium port
dcalhoun Dec 5, 2024
bb590f3
Revert "ci: Increment Appium port"
dcalhoun Dec 6, 2024
988e142
test: Remove unnecessary `await`
dcalhoun Dec 6, 2024
975ba89
Revert "test: Update XCUITest version"
dcalhoun Dec 6, 2024
ff1b8ca
ci: Increase log verbosity
dcalhoun Dec 6, 2024
e13b253
Reapply "test: Update XCUITest version"
dcalhoun Dec 9, 2024
1a6b761
ci: Fix verbose Appium logging parameter
dcalhoun Dec 9, 2024
1c946ff
ci: Trigger CI runs
dcalhoun Dec 9, 2024
7fd7da5
ci: Double driver connection retry timeout
dcalhoun Dec 9, 2024
6ea0a6f
ci: Catch and log driver setup errors
dcalhoun Dec 9, 2024
aedfcd2
ci: Ensure Appium port is available
dcalhoun Dec 9, 2024
6f941af
ci: Log processes using the Appium port
dcalhoun Dec 10, 2024
1e0dccd
ci: Enable Webdriver.io debug logs
dcalhoun Dec 11, 2024
d00b6ec
Revert "ci: Log processes using the Appium port"
dcalhoun Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/rnmobile-android-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ concurrency:
jobs:
test:
runs-on: macos-13
if: false
#if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
strategy:
matrix:
native-test-name: [gutenberg-editor-rendering]
Expand All @@ -37,13 +36,6 @@ jobs:
- name: Setup Node.js and install dependencies
uses: ./.github/setup-node

- name: Restore tests setup cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
~/.appium
key: ${{ runner.os }}-tests-setup-${{ hashFiles('package-lock.json') }}

- name: Prepare tests setup
run: npm run native test:e2e:setup

Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ concurrency:
jobs:
test:
runs-on: macos-13
if: false
#if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
strategy:
matrix:
xcode: ['14.2']
device: ['iPhone 14']
xcode: ['15.1']
device: ['iPhone 15']
native-test-name: [gutenberg-editor-rendering]

steps:
Expand All @@ -42,13 +41,6 @@ jobs:
- name: Setup Node.js and install dependencies
uses: ./.github/setup-node

- name: Restore tests setup cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
~/.appium
key: ${{ runner.os }}-tests-setup-${{ hashFiles('package-lock.json') }}

- name: Prepare tests setup
run: npm run native test:e2e:setup

Expand Down Expand Up @@ -82,6 +74,10 @@ jobs:
- name: Build Web Driver Agent (if needed)
run: test -d packages/react-native-editor/ios/build/WDA || npm run native test:e2e:build-wda

- name: Ensure Appium port is available
run: |
lsof -ti:4723 | xargs kill -9 || true

- name: Run iOS Device Tests
run: TEST_RN_PLATFORM=ios npm run native device-tests:local ${{ matrix.native-test-name }}

Expand Down
Loading
Loading