File tree 7 files changed +1665
-3
lines changed
7 files changed +1665
-3
lines changed Original file line number Diff line number Diff line change @@ -220,8 +220,14 @@ jobs:
220
220
- name : " Show info about phpunit-slow-test-detector.phar with humbug/box"
221
221
run : " .phive/box info ${{ env.PHPUNIT_SLOW_TEST_DETECTOR_PHAR }} --ansi --list"
222
222
223
+ - name : " Install ${{ matrix.dependencies }} dependencies for running phar tests with composer"
224
+ uses :
" ergebnis/.github/actions/composer/[email protected] "
225
+ with :
226
+ dependencies : " ${{ matrix.dependencies }}"
227
+ working-directory : " test/Phar/Version10/"
228
+
223
229
- name : " Run phar tests with phpunit/phpunit"
224
- run : " .phive /phpunit --colors=always --configuration=test/Phar/Version10/phpunit.xml"
230
+ run : " test/Phar/Version10/vendor/bin /phpunit --colors=always --configuration=test/Phar/Version10/phpunit.xml"
225
231
226
232
dependency-analysis :
227
233
name : " Dependency Analysis"
Original file line number Diff line number Diff line change 1
1
/.build /
2
2
/.note /
3
3
/.phive /
4
+ /test /Phar /Version10 /vendor /
4
5
/vendor /
5
6
! /.phive /phars.xml
Original file line number Diff line number Diff line change 2
2
<phive xmlns =" https://phar.io/phive" >
3
3
<phar name =" humbug/box" version =" ^4.4.0" installed =" 4.4.0" location =" ./.phive/box" copy =" false" />
4
4
<phar name =" composer-require-checker" version =" ~3.8.0" installed =" 3.8.0" location =" ./.phive/composer-require-checker" copy =" false" />
5
- <phar name =" phpunit" version =" ^10.4.1" installed =" 10.4.1" location =" ./.phive/phpunit" copy =" false" />
6
5
</phive >
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ phar: phive ## Builds a phar with humbug/box
27
27
.phive/box compile --config=box.json
28
28
git checkout HEAD -- composer.json composer.lock
29
29
.phive/box info .build/phar/phpunit-slow-test-detector.phar --list
30
- .phive/phpunit --configuration=test/Phar/Version10/phpunit.xml
30
+ composer install --no-interaction --no-progress --working-dir=test/Phar/Version10/
31
+ test/Phar/Version10/vendor/bin/phpunit --configuration=test/Phar/Version10/phpunit.xml
31
32
32
33
.PHONY : phive
33
34
phive : .phive # # Installs dependencies with phive
Original file line number Diff line number Diff line change
1
+ {
2
+ "require" : {
3
+ "php" : " ~8.1.0"
4
+ },
5
+ "require-dev" : {
6
+ "phpunit/phpunit" : " ^10.0.0"
7
+ },
8
+ "config" : {
9
+ "platform" : {
10
+ "php" : " 8.1.27"
11
+ },
12
+ "preferred-install" : " dist" ,
13
+ "sort-packages" : true
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments