Skip to content

Add Ruby 3.0 + Puppet 7 & 3.2 + Puppet 8 to CI #29

Add Ruby 3.0 + Puppet 7 & 3.2 + Puppet 8 to CI

Add Ruby 3.0 + Puppet 7 & 3.2 + Puppet 8 to CI #29

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true
jobs:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
test:
name: Tests
needs: rubocop
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: '2.7'
puppet: '7'
- ruby: '3.0'
puppet: '7'
- ruby: '3.2'
puppet: '8'
env:
PUPPET_VERSION: ${{ matrix.puppet }}
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Ruby environment
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: |
bundle exec rake test test:acceptance