Skip to content

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

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

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

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:
ruby:
- "2.7"
- "3.0"
puppet:
- "7"
- "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