Skip to content

Commit

Permalink
Add shared GitHub Actions workflow for ruby testing
Browse files Browse the repository at this point in the history
  • Loading branch information
archanaserver authored and evgeni committed Jan 25, 2024
1 parent ded3cc3 commit 01b8b27
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ruby_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit 01b8b27

Please sign in to comment.