Skip to content

Commit cb372b0

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

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,34 @@ on:
1414
jobs:
1515

1616
spec:
17-
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
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 }})"
29+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@MAINT-pass_gem_env_to_ruby_task"
1830
secrets: "inherit"
31+
with:
32+
ruby_version: ${{ matrix.ruby_version }}
33+
puppet_gem_version: ${{ matrix.puppet_gem_version }}
1934

2035
acceptance:
2136
needs: "spec"
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
ruby_version:
41+
- "2.5"
42+
- "2.7"
43+
name: "acceptance (ruby ${{ matrix.ruby_version }})"
2244
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
2345
secrets: "inherit"
46+
with:
47+
ruby_version: ${{ matrix.ruby_version }}

0 commit comments

Comments
 (0)