Skip to content

Commit 0dd1d30

Browse files
fix concurrency issue
1 parent 5d0a3e7 commit 0dd1d30

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: Build plugin
3838
uses: ./.github/workflows/build.yml
3939
Playwright:
40-
name: Playwright test - ${{ matrix.shardIndex }} on PHP 8.1
40+
name: ${{ github.event_name == 'pull_request' && 'Playwright test (PR)' || format('Playwright test ({0})', github.event_name) }} - ${{ matrix.shardIndex }} on PHP 8.1
4141
runs-on: ubuntu-22.04
4242
needs: [build-plugin]
4343
if: github.event.inputs.tag == '' && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-tests'))
@@ -119,7 +119,7 @@ jobs:
119119
if-no-files-found: ignore
120120
retention-days: 2
121121
PlaywrightWithTag:
122-
name: Playwright test - tagged tests on PHP 8.1
122+
name: ${{ github.event_name == 'pull_request' && 'Playwright test (PR)' || format('Playwright test ({0})', github.event_name) }} - tagged tests on PHP 8.1
123123
runs-on: ubuntu-22.04
124124
needs: [ build-plugin ]
125125
if: ${{ github.event.inputs.tag }}
@@ -171,7 +171,7 @@ jobs:
171171
needs: [ Playwright, PlaywrightWithTag ]
172172
if: always() && (needs.Playwright.result != 'skipped' || needs.PlaywrightWithTag.result != 'skipped')
173173
runs-on: ubuntu-22.04
174-
name: Playwright - Test Results
174+
name: ${{ github.event_name == 'pull_request' && 'Playwright (PR)' || format('Playwright ({0})', github.event_name) }} - Test Results
175175
steps:
176176
- name: Test status
177177
run: echo "Test status is - ${{ needs.Playwright.result }}"

0 commit comments

Comments
 (0)