Skip to content

Commit 27d25bd

Browse files
committed
feat: allow ios tests to run 4 workers
1 parent e201f45 commit 27d25bd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ios-regression.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ on:
6767
- '1'
6868
- '2'
6969
- '3'
70-
default: '3'
70+
- '4'
71+
default: '4'
7172
HIDE_WEBDRIVER_LOGS:
7273
description: 'print webdriver logs (1 to hide, 0 to show). PRINT_ONGOING_TEST_LOGS or PRINT_FAILED_TEST_LOGS must be 1'
7374
required: true
@@ -94,7 +95,7 @@ jobs:
9495
PLAYWRIGHT_RETRIES_COUNT: ${{ github.event.inputs.PLAYWRIGHT_RETRIES_COUNT }}
9596
PRINT_FAILED_TEST_LOGS: ${{ github.event.inputs.PRINT_FAILED_TEST_LOGS }}
9697
PRINT_ONGOING_TEST_LOGS: ${{ github.event.inputs.PRINT_ONGOING_TEST_LOGS }}
97-
PLAYWRIGHT_WORKERS_COUNT: 3 # for iOS, this is the max we can have on our self-hosted runner
98+
PLAYWRIGHT_WORKERS_COUNT: ${{ github.event.inputs.PLAYWRIGHT_WORKERS_COUNT }}
9899
SDK_MANAGER_FULL_PATH: '<just_not_empty>'
99100
AVD_MANAGER_FULL_PATH: '<just_not_empty>'
100101
ANDROID_SYSTEM_IMAGE: '<just_not_empty>'
@@ -157,7 +158,7 @@ jobs:
157158

158159
- name: Run the iOS tests​​ (all device counts)
159160
env:
160-
DEVICES_PER_TEST_COUNT: 4
161+
DEVICES_PER_TEST_COUNT: 3
161162
run: |
162163
pwd
163164
_TESTING=${{ github.event.inputs.HIDE_WEBDRIVER_LOGS }} npx playwright test --grep "(?=.*@${PLATFORM})(?=.*@${{ github.event.inputs.RISK }})" #Note: this has to be double quotes

0 commit comments

Comments
 (0)