Skip to content

Commit

Permalink
Merge pull request #374 from puppetlabs/MAINT-fix_ci
Browse files Browse the repository at this point in the history
(MAINT) Ensure each job has a test matrix
  • Loading branch information
LukasAud authored Jan 23, 2023
2 parents 911922a + 3d7724d commit db28d9f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,42 @@ on:
jobs:

spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.5'
- '2.7'
- '3.0'
- '3.1'
include:
- ruby_version: '2.5'
puppet_gem_version: '~> 6.0'
- ruby_version: '2.7'
puppet_gem_version: '~> 7.0'
- ruby_version: '3.0'
puppet_gem_version: '~> 7.0'
- ruby_version: '3.1'
puppet_gem_version: '~> 7.0'
name: "spec (ruby ${{ matrix.ruby_version }} | puppet ${{ matrix.puppet_gem_version }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
puppet_gem_version: ${{ matrix.puppet_gem_version }}

acceptance:
needs: "spec"
strategy:
fail-fast: false
matrix:
ruby_version:
- "2.5"
- "2.7"
- '3.0'
- '3.1'
name: "acceptance (ruby ${{ matrix.ruby_version }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}

0 comments on commit db28d9f

Please sign in to comment.