Ver Fonte

gha: use custom names for matrix

Manually enumerate the combinations ((plugin|standalone), (version))
so that we can assign a predictable name ("stable", "oldstable") and
prevent having to update the branch-protection rules for each update
to mark the tests as required.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Sebastiaan van Stijn há 1 mês atrás
pai
commit
f2b14fe1aa
1 ficheiros alterados com 17 adições e 6 exclusões
  1. 17 6
      .github/workflows/ci.yml

+ 17 - 6
.github/workflows/ci.yml

@@ -149,15 +149,26 @@ jobs:
         if: always()
   e2e:
     runs-on: ubuntu-latest
+    name: e2e (${{ matrix.mode }}, ${{ matrix.channel }})
     strategy:
       fail-fast: false
       matrix:
-        mode:
-          - plugin
-          - standalone
-        engine:
-          - 28 # old stable (latest major - 1)
-          - 29 # current stable
+        include:
+          # current stable
+          - mode: plugin
+            engine: 29
+            channel: stable
+          - mode: standalone
+            engine: 29
+            channel: stable
+
+          # old stable (latest major - 1)
+          - mode: plugin
+            engine: 28
+            channel: oldstable
+          - mode: standalone
+            engine: 28
+            channel: oldstable
     steps:
       - name: Prepare
         run: |