feat: test github actions on multiple windows and ubuntu

This commit is contained in:
Khoubza Younes
2022-12-26 12:54:00 +01:00
parent 7bb256bfd3
commit 72dcf69f46
+6 -4
View File
@@ -5,10 +5,11 @@ on:
jobs:
symfony-test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
symfony: [ 6.2.*, 6.1.*, 6.0.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.4.*, 4.3.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.8.*, 2.7.*, 2.6.*, 2.5.*, 2.4.*, 2.3.*, 2.2.*, 2.1.*, 2.0.* ]
include:
- { symfony: 6.2.*, php: 8.1, phpunit: 9.5.* }
@@ -39,7 +40,7 @@ jobs:
- { symfony: 2.1.*, php: 5.3, phpunit: 4.8.36 }
- { symfony: 2.0.*, php: 5.3, phpunit: 4.8.36 }
name: symfony[${{ matrix.symfony }}] php[${{ matrix.php }}]
name: symfony[${{ matrix.symfony }}] php[${{ matrix.php }}] - ${{ matrix.os }}
steps:
- name: Checkout code
@@ -62,10 +63,11 @@ jobs:
run: vendor/bin/phpunit --configuration=phpunit-symfony.xml
laravel-test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
laravel: [ 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.* ]
include:
- { laravel: 9.*, testbench: 7.*, php: 8.2, phpunit: 9.5.* }
@@ -85,7 +87,7 @@ jobs:
- { laravel: 4.1.*, testbench: 2.1.*, php: 5.4, phpunit: 4.8.* }
- { laravel: 4.0.*, testbench: 2.0.*, php: 5.4, phpunit: 4.8.* }
name: laravel[${{ matrix.laravel }}] php[${{ matrix.php }}]
name: laravel[${{ matrix.laravel }}] php[${{ matrix.php }}] - ${{ matrix.os }}
steps:
- name: Checkout code