Skip to content

Commit

Permalink
Check that all rules are declared in the all rules acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarrientos committed Jan 18, 2021
1 parent beaf4ee commit 3246b96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
with:
ruby-version: '2.7'
bundler-cache: true
- name: Check that all rules are declared in the all rules acceptance test
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'"
- name: Run tests
run: bundle exec rake beaker
env:
Expand Down

0 comments on commit 3246b96

Please sign in to comment.