From dcd16044f42619f307bd5eb31660bc3629fe7439 Mon Sep 17 00:00:00 2001
From: Chris Boesch <chrboesch@noreply.codeberg.org>
Date: Fri, 28 Apr 2023 11:03:24 +0000
Subject: [PATCH] split in windows and uses PowerShell

---
 .github/workflows/ci.yml | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f40f279..c7e65b9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,10 +29,10 @@ jobs:
         run: ci/compat.sh
       
   test:
-    name: Unit Test
+    name: Unit Tests
     strategy:
       matrix:
-        os: [ubuntu-latest, windows-latest, macos-latest]
+        os: [ubuntu-latest, macos-latest]
     runs-on: ${{ matrix.os }}
     timeout-minutes: 30
     steps:
@@ -46,3 +46,21 @@ jobs:
 
       - name: Run unit tests
         run: zig build test
+        
+    name: Unit Test Windows
+    strategy:
+      matrix:
+      runs-on: windows-latest
+    timeout-minutes: 30
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+
+      - name: Setup Zig
+        uses: goto-bus-stop/setup-zig@v2
+        with:
+          version: master
+
+      - name: Run unit tests
+        run: zig build test
+        shell: pwsh