Skip to content

use shared github workflow to run tests (#866) #1461

use shared github workflow to run tests (#866)

use shared github workflow to run tests (#866) #1461

Workflow file for this run

name: Ruby tests
on:
push:
branches: [foreman_3_9]
pull_request:
branches: [foreman_3_9]
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
rubocop:
name: Rubocop
uses: theforeman/actions/.github/workflows/rubocop.yml@v0
test:
name: Ruby
needs: rubocop
strategy:
fail-fast: false
matrix:
foreman:
- 3.9-stable
- 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 }}