File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
2121 tools : php-cs-fixer
2222
2323 - name : Setup problem matchers for PHPUnit
24+ shell : bash
2425 run : echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
2526
2627 - name : Get composer cache directory
27- uses : mathiasvr/command-output@v2.0.0
2828 id : composer-cache
29- with :
30- run : composer config cache-files-dir
29+ shell : bash
30+ run : echo "dir=$( composer config cache-files-dir)" >> $GITHUB_OUTPUT
3131
3232 - name : Cache composer dependencies
3333 uses : actions/cache@v4
@@ -37,18 +37,21 @@ jobs:
3737 restore-keys : ${{ runner.os }}-${{ matrix.php-versions }}-composer-
3838
3939 - name : Install Composer dependencies
40+ shell : bash
4041 run : composer install --no-progress --prefer-dist --optimize-autoloader
4142
4243 - name : Test with PHPUnit
4344 if : matrix.php-versions != '8.3' || matrix.operating-system != 'ubuntu-latest'
4445 env :
4546 XDEBUG_MODE : coverage
47+ shell : bash
4648 run : vendor/bin/phpunit --testdox -- tests
4749
4850 - name : Test with PHPUnit (coverage)
4951 if : matrix.php-versions == '8.3' && matrix.operating-system == 'ubuntu-latest'
5052 env :
5153 XDEBUG_MODE : coverage
54+ shell : bash
5255 run : vendor/bin/phpunit --testdox --coverage-clover coverage.xml -- tests
5356
5457 - name : Codecov
You can’t perform that action at this time.
0 commit comments