Skip to content

Commit fb9199e

Browse files
committed
Add windows and macos cases
1 parent d5b73b3 commit fb9199e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/php.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ on:
99
jobs:
1010
phpunit:
1111
name: Tests
12-
runs-on: ubuntu-latest
1312
strategy:
1413
fail-fast: false
1514
matrix:
15+
os: [ubuntu-latest]
1616
php:
1717
- "7.1"
1818
- "7.2"
@@ -23,6 +23,15 @@ jobs:
2323
- "lowest"
2424
- "highest"
2525
symfony-yaml: ['^3.4', '^4', '^5']
26+
include:
27+
- os: "windows-latest"
28+
php-version: "8.0"
29+
dependencies: "highest"
30+
symfony-yaml: '^5'
31+
- os: "macos-latest"
32+
php-version: "8.0"
33+
dependencies: "highest"
34+
symfony-yaml: '^5'
2635
exclude:
2736
# symfony/yaml v5 does not run on PHP 7.1
2837
- php: '7.1'
@@ -31,6 +40,7 @@ jobs:
3140
- php: '8.0'
3241
symfony-yaml: '^3.4'
3342

43+
runs-on: ${{ matrix.os }}
3444
env:
3545
SYMFONY_YAML: ${{ matrix.symfony-yaml }}
3646

0 commit comments

Comments
 (0)