Skip to content

Commit 3d7724d

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

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

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

1616
spec:
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
ruby_version:
21+
- '2.5'
22+
- '2.7'
23+
- '3.0'
24+
- '3.1'
25+
include:
26+
- ruby_version: '2.5'
27+
puppet_gem_version: '~> 6.0'
28+
- ruby_version: '2.7'
29+
puppet_gem_version: '~> 7.0'
30+
- ruby_version: '3.0'
31+
puppet_gem_version: '~> 7.0'
32+
- ruby_version: '3.1'
33+
puppet_gem_version: '~> 7.0'
34+
name: "spec (ruby ${{ matrix.ruby_version }} | puppet ${{ matrix.puppet_gem_version }})"
1735
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
1836
secrets: "inherit"
37+
with:
38+
ruby_version: ${{ matrix.ruby_version }}
39+
puppet_gem_version: ${{ matrix.puppet_gem_version }}
1940

2041
acceptance:
2142
needs: "spec"
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
ruby_version:
47+
- "2.5"
48+
- "2.7"
49+
- '3.0'
50+
- '3.1'
51+
name: "acceptance (ruby ${{ matrix.ruby_version }})"
2252
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
2353
secrets: "inherit"
54+
with:
55+
ruby_version: ${{ matrix.ruby_version }}

0 commit comments

Comments
 (0)