Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 18ff462

Browse files
committed
Update UI test workflow for self-hosted runners
Changed concurrency group to a static name for self-hosted runners and removed simulator setup steps, streamlining the workflow for macOS self-hosted environments.
1 parent 2c32fa0 commit 18ff462

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ui_tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
steps:
2121
- name: Setup simulator for runner
2222
run: |
23-
echo "SIMULATOR_NAME=${{ runner.name }}-iPhone" >> $GITHUB_ENV
24-
xcrun simctl create "${{ runner.name }}-iPhone" "iPhone 17" 2>/dev/null || true
23+
SIMULATOR_NAME="${{ runner.name }}-iPhone"
24+
echo "SIMULATOR_NAME=$SIMULATOR_NAME" >> $GITHUB_ENV
25+
xcrun simctl delete "$SIMULATOR_NAME" 2>/dev/null || true
26+
xcrun simctl create "$SIMULATOR_NAME" "iPhone 17"
2527
2628
- name: Setup sccache for GitHub-hosted
2729
if: runner.environment == 'github-hosted'

0 commit comments

Comments
 (0)