File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 3737 with :
3838 branch : master
3939
40+ - name : Install Composer Dependencies
41+ run : |
42+ cd _test
43+ composer install --no-progress --no-suggest --no-interaction --prefer-dist --optimize-autoloader --no-scripts
44+
4045 - name : Run Rector (PHP ${{ inputs.rector-php }})
4146 env :
4247 RECTOR_MIN_PHP : ${{ inputs.rector-php }}
Original file line number Diff line number Diff line change 2828 with :
2929 branch : master
3030
31+ - name : Install Composer Dependencies
32+ run : |
33+ cd _test
34+ composer install --no-progress --no-suggest --no-interaction --prefer-dist --optimize-autoloader --no-scripts
35+
3136 - name : Run PHP codesniffer
3237 run : phpcs -q --standard=_test/phpcs.xml ${{ steps.dokuwiki-env.outputs.dir }}
Original file line number Diff line number Diff line change 4444 with :
4545 branch : ${{ matrix.dokuwiki-branch }}
4646
47+ - name : Install Composer Dependencies
48+ run : |
49+ cd _test
50+ composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader --no-scripts
51+
4752 - name : Setup PHPUnit
4853 run : |
49- php _test/fetchphpunit.php
54+ if [ -f _test/fetchphpunit.php ]; then
55+ php _test/fetchphpunit.php
56+ fi
5057
5158 - name : Check Syntax
5259 run : |
5562 - name : Run PHPUnit
5663 run : |
5764 cd _test
58- php phpunit.phar --verbose --stderr --group ${{ steps.dokuwiki-env.outputs.type }}_${{ steps.dokuwiki-env.outputs.base }}
65+ if [ -f phpunit.phar ]; then
66+ php phpunit.phar --verbose --stderr --group ${{ steps.dokuwiki-env.outputs.type }}_${{ steps.dokuwiki-env.outputs.base }}
67+ else
68+ composer exec -- phpunit --verbose --stderr --group ${{ steps.dokuwiki-env.outputs.type }}_${{ steps.dokuwiki-env.outputs.base }}
69+ fi
You can’t perform that action at this time.
0 commit comments