Browse Source

Merge pull request #951 from joanhey/os-tests

Add Windows and Mac Os to tests
walkor 2 years ago
parent
commit
7767ef67c2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/test.yml

+ 3 - 3
.github/workflows/test.yml

@@ -12,15 +12,16 @@ on:
 
 jobs:
   linux_tests:
-    runs-on: ubuntu-22.04
+    runs-on: ${{ matrix.os }}
 
     strategy:
       fail-fast: false
       matrix:
+        os: [ubuntu-latest, macos-latest, windows-latest]
         php: ["8.1", "8.2", "8.3"]
         stability: [prefer-lowest, prefer-stable]
 
-    name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
+    name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} 
 
     steps:
       - name: Checkout code
@@ -47,4 +48,3 @@ jobs:
 
       - name: Execute tests
         run: vendor/bin/pest --coverage --colors=always
-