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 @@ -246,8 +246,8 @@ jobs:
246
246
with :
247
247
java-version : 1.8
248
248
249
- - name : Run PHAR-specific end-to-end tests
250
- run : ant run-phar-specific-tests
249
+ - name : Build PHAR and run the PHAR -specific tests with it
250
+ run : ant build-phar-and- run-phar-specific-tests
251
251
252
252
- uses : actions/upload-artifact@v2
253
253
if : ${{ matrix.php-version == 8.1 }}
Original file line number Diff line number Diff line change 407
407
<exec executable =" ${ basedir } /build/scripts/version.php" outputproperty =" version" failonerror =" true" />
408
408
</target >
409
409
410
- <target name =" run-phar-specific-tests" depends =" clean,phar-snapshot" description =" Build snapshot PHAR and run the PHAR-specific tests with it" >
410
+ <target name =" build-phar-and- run-phar-specific-tests" depends =" clean,phar-snapshot" description =" Build PHAR and run the PHAR-specific tests with it" >
411
411
<delete dir =" ${ basedir } /vendor" />
412
412
<delete file =" ${ basedir } /composer.lock" />
413
413
414
+ <antcall target =" run-phar-specific-tests" />
415
+ </target >
416
+
417
+ <target name =" run-phar-specific-tests" description =" Run the PHAR-specific tests with it (expects build/artifacts/phpunit-snapshot.phar to exist)" >
414
418
<exec executable =" ${ basedir } /build/artifacts/phpunit-snapshot.phar" taskname =" phpunit" failonerror =" true" >
415
419
<arg value =" --configuration" />
416
420
<arg value =" tests/phar/phpunit.xml" />
You can’t perform that action at this time.
0 commit comments