Browse Source

Merge pull request #937 from gravitl/dev-gh-matrix

workflows/test.yml: add windows/darwin to workflow
dcarns 3 years ago
parent
commit
5a10fe2ab3
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/test.yml

+ 5 - 1
.github/workflows/test.yml

@@ -24,7 +24,10 @@ jobs:
   tests:
   tests:
     env:
     env:
       DATABASE: sqlite
       DATABASE: sqlite
-    runs-on: ubuntu-20.04
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: [macos-latest, ubuntu-latest, windows-latest]
     steps:
     steps:
       - name: Checkout
       - name: Checkout
         uses: actions/checkout@v2
         uses: actions/checkout@v2
@@ -38,3 +41,4 @@ jobs:
         env:
         env:
           DATABASE: sqlite
           DATABASE: sqlite
           CLIENT_MODE: "off"
           CLIENT_MODE: "off"
+