test on multiple OS

This commit is contained in:
Khoubza Younes
2021-10-16 12:48:15 +01:00
parent ba1f4cc8e4
commit f90a0ca5d4
2 changed files with 24 additions and 6 deletions
+18 -3
View File
@@ -12,11 +12,26 @@ jobs:
strategy:
fail-fast: true
matrix:
laravel: [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.*]
laravel:
- 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.*
os:
- ubuntu-latest
# - macos-latest
# - windows-latest
- macos-latest
- windows-latest
include:
- laravel: 8.*
testbench: 6.*
+6 -3
View File
@@ -8,7 +8,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
@@ -37,7 +37,10 @@ jobs:
- 2.2.*
- 2.1.*
- 2.0.*
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- symfony: 5.4.*
php: 7.2
@@ -135,7 +138,7 @@ jobs:
php: 5.3
phpunit: 4.8.36
name: S${{ matrix.symfony }} - P${{ matrix.php }}
name: ${{ matrix.os }} - S${{ matrix.symfony }} - P${{ matrix.php }}
steps:
- name: Checkout code