Skip to content

Commit d8cc6ef

Browse files
committed
(MAINT) Update CI with matrix and acceptance
This commit prepares the CI workflow so that it can consume the new ci and acceptance workflows for gems. It also implements a matrix that is passed in to the rake task as the MATRIX_TARGET environment variable.
1 parent 79bf947 commit d8cc6ef

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "ci"
33
on:
44
push:
55
branches:
6-
- "maint"
6+
- "main"
77
pull_request:
88
branches:
99
- "main"
@@ -12,6 +12,19 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15-
ci:
15+
16+
spec:
1617
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
1718
secrets: "inherit"
19+
20+
acceptance:
21+
needs: "spec"
22+
strategy:
23+
matrix:
24+
puppet:
25+
- "puppet6"
26+
- "puppet7"
27+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
28+
secrets: "inherit"
29+
with:
30+
target: ${{ matrix.target }}

0 commit comments

Comments
 (0)