Skip to content

Commit c33470b

Browse files
committed
Use the overrides in all relevant workflows
1 parent 0430fb2 commit c33470b

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/reusable-end-to-end-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ jobs:
8181
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
8282
persist-credentials: false
8383

84+
- name: Create a Docker override file
85+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php-version ) }}
86+
env:
87+
PHP_VERSION: ${{ inputs.php-version }}
88+
run: cp tools/local-env/php-$PHP_VERSION-docker-compose.override.yml docker-compose.override.yml
89+
8490
- name: Set up Node.js
8591
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
8692
with:

.github/workflows/reusable-performance-test-v2.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ jobs:
121121
fetch-depth: ${{ github.event_name == 'workflow_dispatch' && '2' || '1' }}
122122
persist-credentials: false
123123

124+
- name: Create a Docker override file
125+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php-version ) }}
126+
env:
127+
PHP_VERSION: ${{ inputs.php-version }}
128+
run: cp tools/local-env/php-$PHP_VERSION-docker-compose.override.yml docker-compose.override.yml
129+
124130
- name: Set up Node.js
125131
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
126132
with:

.github/workflows/reusable-test-local-docker-environment-v1.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ jobs:
9191
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
9292
persist-credentials: false
9393

94+
- name: Create a Docker override file
95+
if: ${{ contains( fromJSON('["8.3", "8.4"]'), inputs.php ) }}
96+
env:
97+
PHP_VERSION: ${{ inputs.php }}
98+
run: cp tools/local-env/php-$PHP_VERSION-docker-compose.override.yml docker-compose.override.yml
99+
94100
- name: Set up Node.js
95101
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
96102
with:

0 commit comments

Comments
 (0)