Update GH workflows to run on develop #1552
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby tests | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
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 | |
strategy: | |
fail-fast: false | |
matrix: | |
foreman: | |
- develop | |
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0 | |
with: | |
plugin: foreman_rh_cloud | |
postgresql_container: ghcr.io/theforeman/postgresql-evr | |
test_existing_database: false | |
foreman_version: ${{ matrix.foreman }} |