-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (31 loc) · 766 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Ruby test
on:
pull_request:
push:
branches:
- master
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
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"
- "3.9-stable"
- "3.8-stable"
- "3.7-stable"
uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0
with:
plugin: foreman_wreckingball
foreman_version: ${{ matrix.foreman }}
environment_variables: |
FOREMAN_VERSION=${{ matrix.foreman }}