Skip to content

Commit 135eceb

Browse files
ci(ui-tests): serialize UI jobs across platforms
Mac/Windows UI runs share the same MailSlurp inbox and account state, which can cause flaky failures when executed concurrently. Use a single concurrency group so jobs run one-at-a-time.
1 parent a8e2c38 commit 135eceb

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ui-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ jobs:
8989
name: Build & Test Unity 6 macOS 🛠️🧪
9090
runs-on: [self-hosted, macOS]
9191
concurrency:
92-
group: ui-tests-email-inbox-macos-unity6
92+
# Serialize UI runs across all platforms that share the same MailSlurp inbox / account state.
93+
group: ui-tests-email-inbox
9394
cancel-in-progress: false # Let tests complete rather than cancelling
9495
if: github.event_name != 'workflow_dispatch' || github.event.inputs.targetPlatform == 'All' || github.event.inputs.targetPlatform == 'StandaloneOSX-Unity6'
9596
steps:
@@ -218,7 +219,8 @@ jobs:
218219
name: Build & Test Unity 6 Windows 🛠️🧪
219220
runs-on: [self-hosted, windows]
220221
concurrency:
221-
group: ui-tests-email-inbox-windows-unity6
222+
# Serialize UI runs across all platforms that share the same MailSlurp inbox / account state.
223+
group: ui-tests-email-inbox
222224
cancel-in-progress: false # Let tests complete rather than cancelling
223225
if: github.event_name != 'workflow_dispatch' || github.event.inputs.targetPlatform == 'All' || github.event.inputs.targetPlatform == 'StandaloneWindows64-Unity6'
224226
steps:
@@ -420,7 +422,9 @@ jobs:
420422
# runs-on: [ self-hosted, macOS ]
421423
# test_script: browserstack-sdk pytest -s ./test/test_android.py --browserstack.config "browserstack.android.yml"
422424
concurrency:
423-
group: ui-tests-email-inbox-${{ matrix.concurrency_group }}
425+
# Serialize Standalone UI tests across macOS + Windows.
426+
# These share the same MailSlurp inbox / account state and can interfere when run in parallel.
427+
group: ui-tests-email-inbox
424428
cancel-in-progress: false # Let tests complete rather than canceling
425429
runs-on: ${{ matrix.runs-on }}
426430
steps:

0 commit comments

Comments
 (0)