Skip to content

Commit c7529eb

Browse files
Merge branch '9.5'
2 parents 6cf9705 + 891f0f1 commit c7529eb

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
@@ -255,8 +255,8 @@ jobs:
255255
with:
256256
java-version: 1.8
257257

258-
- name: Run PHAR-specific end-to-end tests
259-
run: ant run-phar-specific-tests
258+
- name: Build PHAR and run the PHAR-specific tests with it
259+
run: ant build-phar-and-run-phar-specific-tests
260260

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

build.xml

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

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

383+
<antcall target="run-phar-specific-tests"/>
384+
</target>
385+
386+
<target name="run-phar-specific-tests" description="Run the PHAR-specific tests with it (expects build/artifacts/phpunit-snapshot.phar to exist)">
383387
<exec executable="${basedir}/build/artifacts/phpunit-snapshot.phar" taskname="phpunit" failonerror="true">
384388
<arg value="--configuration" />
385389
<arg value="tests/phar/phpunit.xml" />

0 commit comments

Comments
 (0)