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 @@ -255,8 +255,8 @@ jobs:
255
255
with :
256
256
java-version : 1.8
257
257
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
260
260
261
261
- uses : actions/upload-artifact@v2
262
262
if : ${{ matrix.php-version == 8.1 }}
Original file line number Diff line number Diff line change 376
376
<exec executable =" ${ basedir } /build/scripts/version.php" outputproperty =" version" failonerror =" true" />
377
377
</target >
378
378
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" >
380
380
<delete dir =" ${ basedir } /vendor" />
381
381
<delete file =" ${ basedir } /composer.lock" />
382
382
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)" >
383
387
<exec executable =" ${ basedir } /build/artifacts/phpunit-snapshot.phar" taskname =" phpunit" failonerror =" true" >
384
388
<arg value =" --configuration" />
385
389
<arg value =" tests/phar/phpunit.xml" />
You can’t perform that action at this time.
0 commit comments