Skip to content

Commit 2f83785

Browse files
committed
Don't run on all the jobs
1 parent abbcb97 commit 2f83785

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,16 @@ jobs:
3535
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
3636
strategy:
3737
matrix:
38-
PHPVERSION: [8.1]
39-
TEST: [Unit]
38+
PHPVERSION: [8.1, 8.2, 8.3, 8.4]
39+
TEST: [Unit, E2E]
4040
steps:
41+
- name: Skip this job when not in a merge queue for some combinations
42+
run: |
43+
if [ "${{ !contains(github.ref, 'gh-readonly-queue') }}" ]; then
44+
if [ "${{ matrix.PHPVERSION }}" -ne "8.4" ]; then
45+
exit 0
46+
fi
47+
fi
4148
- uses: actions/checkout@v4
4249
- name: info
4350
run: |

0 commit comments

Comments
 (0)