File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -258,8 +258,8 @@ jobs:
258
258
with :
259
259
java-version : 1.8
260
260
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
263
263
264
264
- uses : actions/upload-artifact@v2
265
265
if : ${{ matrix.php-version == 8.1 }}
Original file line number Diff line number Diff line change 425
425
<exec executable =" ${ basedir } /build/scripts/version.php" outputproperty =" version" failonerror =" true" />
426
426
</target >
427
427
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" >
429
429
<delete dir =" ${ basedir } /vendor" />
430
430
<delete file =" ${ basedir } /composer.lock" />
431
431
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)" >
432
436
<exec executable =" ${ basedir } /build/artifacts/phpunit-snapshot.phar" taskname =" phpunit" failonerror =" true" >
433
437
<arg value =" --configuration" />
434
438
<arg value =" tests/phar/phpunit.xml" />
You can’t perform that action at this time.
0 commit comments