Skip to content

Commit 03de055

Browse files
authored
Ensure Tests Complete First
1 parent ae32564 commit 03de055

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/run-phpstan-pull.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2424

2525
steps:
26+
- name: Wait for tests to finish
27+
uses: lewagon/[email protected]
28+
with:
29+
ref: ${{ github.ref }}
30+
running-workflow-name: 'run-tests-pull'
31+
repo-token: ${{ secrets.GITHUB_TOKEN }}
32+
wait-interval: 20
33+
2634
- name: Checkout code
2735
uses: actions/checkout@v4
2836

.github/workflows/run-phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2727

2828
steps:
29-
- name: Wait for styling to finish
29+
- name: Wait for tests to finish
3030
uses: lewagon/[email protected]
3131
with:
3232
ref: ${{ github.ref }}
33-
running-workflow-name: 'Fix PHP code style issues'
33+
running-workflow-name: 'run-tests'
3434
repo-token: ${{ secrets.GITHUB_TOKEN }}
3535
wait-interval: 20
3636

.github/workflows/run-tests-pcov-pull.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pcov,pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2727

2828
steps:
29+
- name: Wait for tests to finish
30+
uses: lewagon/[email protected]
31+
with:
32+
ref: ${{ github.ref }}
33+
running-workflow-name: 'run-tests-pull'
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}
35+
wait-interval: 20
36+
2937
- name: Checkout code
3038
uses: actions/checkout@v4
3139

0 commit comments

Comments
 (0)