@@ -46,11 +46,11 @@ jobs:
46
46
coverage : pcov
47
47
tools : composer:v2
48
48
49
- - name : Determine composer cache directory on Linux
49
+ - name : Determine composer cache directory ( Linux/MacOS)
50
50
if : matrix.os != 'windows-latest'
51
51
run : echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
52
52
53
- - name : Determine composer cache directory on Windows
53
+ - name : Determine composer cache directory ( Windows)
54
54
if : matrix.os == 'windows-latest'
55
55
run : echo "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
56
56
64
64
- name : Validate composer.json and composer.lock
65
65
run : composer validate --ansi
66
66
67
- - name : Install dependencies (Linux)
67
+ - name : Install dependencies (Linux/MacOS )
68
68
if : matrix.os != 'windows-latest'
69
69
run : |
70
70
make install
73
73
- name : Install dependencies (Windows)
74
74
if : matrix.os == 'windows-latest'
75
75
run : |
76
- make install
76
+ composer install --prefer-dist --no-interaction --no-progress --ansi
77
77
composer require symfony/yaml:5.1.8 --prefer-dist --no-interaction --ansi
78
78
79
79
- name : Validate test data
84
84
if : matrix.os == 'ubuntu-latest'
85
85
run : make stan
86
86
87
- - name : PHPUnit tests
87
+ - name : PHPUnit tests (Linux/MacOS)
88
+ if : matrix.os != 'windows-latest'
88
89
run : make test
89
90
91
+ - name : PHPUnit tests (Windows)
92
+ if : matrix.os == 'windows-latest'
93
+ run : vendor/phpunit/phpunit/phpunit --colors=always
94
+
90
95
- name : Check code style
91
96
if : matrix.os == 'ubuntu-latest'
92
97
run : make check-style
0 commit comments