@@ -46,11 +46,11 @@ jobs:
4646 coverage : pcov
4747 tools : composer:v2
4848
49- - name : Determine composer cache directory on Linux
49+ - name : Determine composer cache directory ( Linux/MacOS)
5050 if : matrix.os != 'windows-latest'
5151 run : echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
5252
53- - name : Determine composer cache directory on Windows
53+ - name : Determine composer cache directory ( Windows)
5454 if : matrix.os == 'windows-latest'
5555 run : echo "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
5656
6464 - name : Validate composer.json and composer.lock
6565 run : composer validate --ansi
6666
67- - name : Install dependencies (Linux)
67+ - name : Install dependencies (Linux/MacOS )
6868 if : matrix.os != 'windows-latest'
6969 run : |
7070 make install
7373 - name : Install dependencies (Windows)
7474 if : matrix.os == 'windows-latest'
7575 run : |
76- make install
76+ composer install --prefer-dist --no-interaction --no-progress --ansi
7777 composer require symfony/yaml:5.1.8 --prefer-dist --no-interaction --ansi
7878
7979 - name : Validate test data
8484 if : matrix.os == 'ubuntu-latest'
8585 run : make stan
8686
87- - name : PHPUnit tests
87+ - name : PHPUnit tests (Linux/MacOS)
88+ if : matrix.os != 'windows-latest'
8889 run : make test
8990
91+ - name : PHPUnit tests (Windows)
92+ if : matrix.os == 'windows-latest'
93+ run : vendor/phpunit/phpunit/phpunit --colors=always
94+
9095 - name : Check code style
9196 if : matrix.os == 'ubuntu-latest'
9297 run : make check-style
0 commit comments