1414 description : ' Operating system to run tests on'
1515 required : false
1616 type : ' string'
17+ <<<<<<< Updated upstream
1718<<<<<<< Updated upstream
1819 default : ' ubuntu-latest'
20+ =======
21+ default : ' ubuntu-24.04'
22+ >>>>>>> Stashed changes
1923=======
2024 default : ' ubuntu-24.04'
2125>>>>>>> Stashed changes
5559 default : false
5660env :
5761<<<<<<< Updated upstream
62+ <<<<<<< Updated upstream
63+ =======
64+ COMPOSER_INSTALL : ${{ false }}
65+ >>>>>>> Stashed changes
5866=======
5967 COMPOSER_INSTALL : ${{ false }}
6068>>>>>>> Stashed changes
6775 SLOW_TESTS : ' external-http,media'
6876
6977<<<<<<< Updated upstream
78+ <<<<<<< Updated upstream
79+ =======
7080=======
81+ >>>>>>> Stashed changes
7182# Disable permissions for all available scopes by default.
7283# Any needed permissions should be configured at the job level.
7384permissions : {}
7485
86+ <<<<<<< Updated upstream
87+ >>>>>>> Stashed changes
88+ =======
7589>>>>>>> Stashed changes
7690jobs :
7791 # Runs the PHPUnit tests for WordPress.
@@ -101,6 +115,7 @@ jobs:
101115 steps :
102116 - name : Configure environment variables
103117 run : |
118+ <<<<<<< Updated upstream
104119<<<<<<< Updated upstream
105120 echo "PHP_FPM_UID=$(id -u)" >> $GITHUB_ENV
106121 echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
@@ -113,6 +128,8 @@ jobs:
113128 - name : Set up Node.js
114129 uses : actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
115130=======
131+ =======
132+ >>>>>>> Stashed changes
116133 echo "PHP_FPM_UID=$(id -u)" >> "$GITHUB_ENV"
117134 echo "PHP_FPM_GID=$(id -g)" >> "$GITHUB_ENV"
118135
@@ -124,6 +141,9 @@ jobs:
124141
125142 - name : Set up Node.js
126143 uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
144+ <<<<<<< Updated upstream
145+ >>>>>>> Stashed changes
146+ =======
127147>>>>>>> Stashed changes
128148 with :
129149 node-version-file : ' .nvmrc'
@@ -135,11 +155,14 @@ jobs:
135155 - name : Build WordPress
136156 run : npm run build
137157
158+ <<<<<<< Updated upstream
138159<<<<<<< Updated upstream
139160 - name : Cache Composer dependencies
140161 if : ${{ env.COMPOSER_INSTALL == true }}
141162 uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
142163=======
164+ =======
165+ >>>>>>> Stashed changes
143166 - name : Get composer cache directory
144167 if : ${{ env.COMPOSER_INSTALL == true }}
145168 id : composer-cache
@@ -148,6 +171,9 @@ jobs:
148171 - name : Cache Composer dependencies
149172 if : ${{ env.COMPOSER_INSTALL == true }}
150173 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
174+ <<<<<<< Updated upstream
175+ >>>>>>> Stashed changes
176+ =======
151177>>>>>>> Stashed changes
152178 env :
153179 cache-name : cache-composer-dependencies
@@ -175,8 +201,13 @@ jobs:
175201 if : ${{ inputs.memcached }}
176202 run : |
177203 cp tests/phpunit/includes/object-cache.php build/wp-content/object-cache.php
204+ <<<<<<< Updated upstream
178205<<<<<<< Updated upstream
179206 docker run --name memcached --net $(basename "$PWD")_wpdevnet -d memcached
207+ =======
208+ BASE=$(basename "$PWD")
209+ docker run --name memcached --net "${BASE}_wpdevnet" -d memcached
210+ >>>>>>> Stashed changes
180211=======
181212 BASE=$(basename "$PWD")
182213 docker run --name memcached --net "${BASE}_wpdevnet" -d memcached
@@ -188,9 +219,12 @@ jobs:
188219 node --version
189220 curl --version
190221 git --version
222+ <<<<<<< Updated upstream
191223<<<<<<< Updated upstream
192224 svn --version
193225=======
226+ >>>>>>> Stashed changes
227+ =======
194228>>>>>>> Stashed changes
195229
196230 - name : Log running Docker containers
@@ -209,6 +243,7 @@ jobs:
209243
210244 - name : Run slow PHPUnit tests
211245 if : ${{ inputs.split_slow }}
246+ <<<<<<< Updated upstream
212247<<<<<<< Updated upstream
213248 run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c ${{ env.PHPUNIT_CONFIG }} --group ${{ env.SLOW_TESTS }}
214249
@@ -232,6 +267,8 @@ jobs:
232267 if : ${{ ! inputs.multisite && ! inputs.split_slow }}
233268 run : npm run test:${{ env.PHPUNIT_SCRIPT }} -- --verbose -c phpunit.xml.dist --group external-http
234269=======
270+ =======
271+ >>>>>>> Stashed changes
235272 run : npm run "test:${PHPUNIT_SCRIPT}" -- --verbose -c "${PHPUNIT_CONFIG}" --group "${SLOW_TESTS}"
236273
237274 - name : Run PHPUnit tests for single site excluding slow tests
@@ -253,4 +290,7 @@ jobs:
253290 - name : Run external HTTP tests
254291 if : ${{ ! inputs.multisite && ! inputs.split_slow }}
255292 run : npm run "test:${PHPUNIT_SCRIPT}" -- --verbose -c phpunit.xml.dist --group external-http
293+ <<<<<<< Updated upstream
294+ >>>>>>> Stashed changes
295+ =======
256296>>>>>>> Stashed changes
0 commit comments