mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
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 <github@gone.nl>
This commit is contained in:
committed by
Nicolas De loof
parent
bd2257b6d1
commit
f2b14fe1aa
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user