Skip to content

Commit

Permalink
Don't run on all the jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Dec 7, 2024
1 parent abbcb97 commit 2f83785
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,16 @@ jobs:
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
PHPVERSION: [8.1]
TEST: [Unit]
PHPVERSION: [8.1, 8.2, 8.3, 8.4]
TEST: [Unit, E2E]
steps:
- name: Skip this job when not in a merge queue for some combinations
run: |
if [ "${{ !contains(github.ref, 'gh-readonly-queue') }}" ]; then
if [ "${{ matrix.PHPVERSION }}" -ne "8.4" ]; then
exit 0
fi
fi
- uses: actions/checkout@v4
- name: info
run: |
Expand Down

0 comments on commit 2f83785

Please sign in to comment.