Skip to content

Add shared GitHub Actions workflow for ruby testing #3

Add shared GitHub Actions workflow for ruby testing

Add shared GitHub Actions workflow for ruby testing #3

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- 'master'
- '*-stable'
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
with:
command: bundle exec rubocop --parallel --format github
test:
name: Ruby
needs: rubocop
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: puppetdb_foreman