Skip to content

Commit 11e6af1

Browse files
committed
(MAINT) Ensure each job has a test matrix
1 parent 911922a commit 11e6af1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,33 @@ on:
1414
jobs:
1515

1616
spec:
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
ruby_version:
21+
- '2.5'
22+
- '2.7'
23+
include:
24+
- ruby_version: '2.5'
25+
puppet_gem_version: '~> 6.0'
26+
- ruby_version: '2.7'
27+
puppet_gem_version: '~> 7.0'
28+
name: "spec (ruby ${{ matrix.ruby_version }} | puppet ${{ matrix.puppet_gem_version }})"
1729
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
1830
secrets: "inherit"
31+
with:
32+
ruby_version: ${{ matrix.ruby_version }}
1933

2034
acceptance:
2135
needs: "spec"
36+
strategy:
37+
fail-fast: false
38+
matrix:
39+
ruby_version:
40+
- "2.5"
41+
- "2.7"
42+
name: "acceptance (ruby ${{ matrix.ruby_version }})"
2243
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
2344
secrets: "inherit"
45+
with:
46+
ruby_version: ${{ matrix.ruby_version }}

0 commit comments

Comments
 (0)