Révision c3f6e1ff
Use a separate job file
.github/workflows/ci.yml | ||
---|---|---|
70 | 70 |
with: |
71 | 71 |
ruby-version: '2.7' |
72 | 72 |
bundler-cache: true |
73 |
- name: Check that all rules are declared in the all rules acceptance test |
|
74 |
run: bash -c "awk '/^class / {print \$2}' manifests/rules/*.pp manifests/rules/out/*.pp | xargs -i sh -c 'grep -F {} spec/acceptance/all_rules_spec.rb -q || exit 255'" |
|
75 | 73 |
- name: Run tests |
76 | 74 |
run: bundle exec rake beaker |
77 | 75 |
env: |
.github/workflows/nftables.yml | ||
---|---|---|
1 |
name: nftables |
|
2 |
|
|
3 |
on: pull_request |
|
4 |
|
|
5 |
jobs: |
|
6 |
all_rules_acceptance: |
|
7 |
runs-on: ubuntu-latest |
|
8 |
name: "All rules included in acceptance tests" |
|
9 |
steps: |
|
10 |
- uses: actions/checkout@v2 |
|
11 |
- name: Check |
|
12 |
run: bash -c "awk '/^class / {print \$2}' manifests/rules/*.pp manifests/rules/out/*.pp | xargs -i sh -c 'grep -F {} spec/acceptance/all_rules_spec.rb -q || exit 255'" |
Formats disponibles : Unified diff