Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,25 @@ on:

jobs:
ruby-style:
if: false # TODO Modules will need: rubocop in Gemfile, .rubocop.yml
name: 'Ruby Style (experimental)'
name: 'Ruby Style'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v6
- name: "Install Ruby ${{matrix.puppet.ruby_version}}"
- name: "Install Ruby 2.7"
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
bundler-cache: true
- run: |
bundle show
bundle exec rake rubocop
bundle exec rubocop
releng-checks:
name: 'RELENG checks'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: 'Install Ruby ${{matrix.puppet.ruby_version}}'
- name: 'Install Ruby 2.7'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.8
Expand Down Expand Up @@ -76,7 +75,7 @@ jobs:
# unit test uses mkisofs and rpmbuild
- run: 'command -v mkisofs || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y genisoimage; fi ||:'
- run: 'command -v rpmbuild || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y rpm-build; fi ||:'
- run: 'command -v createrepo || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y createrepo; fi ||:'
- run: 'command -v createrepo_c || if command -v apt-get; then sudo apt-get update; sudo apt-get install -y createrepo-c; fi ||:'
- run: 'bundle exec rake spec'

# dump_contexts:
Expand Down
Loading