Skip to content

Commit 891f0f1

Browse files
Merge branch '8.5' into 9.5
2 parents 58b7d87 + f9a161c commit 891f0f1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ jobs:
258258
with:
259259
java-version: 1.8
260260

261-
- name: Run PHAR-specific end-to-end tests
262-
run: ant run-phar-specific-tests
261+
- name: Build PHAR and run the PHAR-specific tests with it
262+
run: ant build-phar-and-run-phar-specific-tests
263263

264264
- uses: actions/upload-artifact@v2
265265
if: ${{ matrix.php-version == 8.1 }}

build.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,14 @@
425425
<exec executable="${basedir}/build/scripts/version.php" outputproperty="version" failonerror="true" />
426426
</target>
427427

428-
<target name="run-phar-specific-tests" depends="clean,phar-snapshot" description="Build snapshot PHAR and run the PHAR-specific tests with it">
428+
<target name="build-phar-and-run-phar-specific-tests" depends="clean,phar-snapshot" description="Build PHAR and run the PHAR-specific tests with it">
429429
<delete dir="${basedir}/vendor"/>
430430
<delete file="${basedir}/composer.lock"/>
431431

432+
<antcall target="run-phar-specific-tests"/>
433+
</target>
434+
435+
<target name="run-phar-specific-tests" description="Run the PHAR-specific tests with it (expects build/artifacts/phpunit-snapshot.phar to exist)">
432436
<exec executable="${basedir}/build/artifacts/phpunit-snapshot.phar" taskname="phpunit" failonerror="true">
433437
<arg value="--configuration" />
434438
<arg value="tests/phar/phpunit.xml" />

0 commit comments

Comments
 (0)