Skip to content

Commit b2b2ee6

Browse files
committed
mac and windows fixes
1 parent 201ab94 commit b2b2ee6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/php.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
exclude:
2222
# Symfony YAML does not run on PHP 7.1
2323
- php: '7.1'
24-
yaml: '^5.0'
24+
yaml: '^5.1.8'
2525
include:
2626
- php: '7.4'
2727
os: windows-latest
28-
yaml: '^5.0'
28+
yaml: '^5.1.8'
2929
- php: '7.4'
3030
os: macos-latest
31-
yaml: '^5.0'
31+
yaml: '^5.1.8'
3232

3333

3434
runs-on: ${{ matrix.os }}
@@ -72,19 +72,25 @@ jobs:
7272
7373
- name: Install dependencies (Windows)
7474
if: matrix.os == 'windows-latest'
75-
run: make install
75+
run: |
76+
make install
77+
composer require symfony/yaml:^5.1.8 --prefer-dist --no-interaction --ansi
7678
7779
- name: Validate test data
80+
if: matrix.os == 'ubuntu-latest'
7881
run: make lint
7982

8083
- name: PHP Stan analysis
84+
if: matrix.os == 'ubuntu-latest'
8185
run: make stan
8286

8387
- name: PHPUnit tests
8488
run: make test
8589

8690
- name: Check code style
91+
if: matrix.os == 'ubuntu-latest'
8792
run: make check-style
8893

8994
- name: Code coverage
95+
if: matrix.os == 'ubuntu-latest'
9096
run: make coverage

0 commit comments

Comments
 (0)