Răsfoiți Sursa

ci: add Windows to unit test matrix (#14836)

Luke Parker 1 lună în urmă
părinte
comite
0269f39a17
1 a modificat fișierele cu 10 adăugiri și 2 ștergeri
  1. 10 2
      .github/workflows/test.yml

+ 10 - 2
.github/workflows/test.yml

@@ -8,8 +8,16 @@ on:
   workflow_dispatch:
 jobs:
   unit:
-    name: unit (linux)
-    runs-on: blacksmith-4vcpu-ubuntu-2404
+    name: unit (${{ matrix.settings.name }})
+    strategy:
+      fail-fast: false
+      matrix:
+        settings:
+          - name: linux
+            host: blacksmith-4vcpu-ubuntu-2404
+          - name: windows
+            host: blacksmith-4vcpu-windows-2025
+    runs-on: ${{ matrix.settings.host }}
     defaults:
       run:
         shell: bash