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
41 changes: 20 additions & 21 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,25 @@ jobs:
strategy:
matrix:
puppet:
- label: 'Puppet 6'
puppet_version: '~> 6'
ruby_version: '2.5'
- label: 'Puppet 7'
puppet_version: '~> 7'
ruby_version: '2.7'
- label: 'OpenVox 8 (Ruby 3.2)'
puppet_version: '~> 8.0'
ruby_version: '3.2'
- label: 'OpenVox 8 (Ruby 4.0)'
puppet_version: '~> 8.0'
ruby_version: '4.0'
env:
PUPPET_GEM_VERSION: ${{matrix.puppet.puppet_version}}
PUPPET_VERSION: ${{matrix.puppet.puppet_version}}
BUNDLE_WITHOUT: 'acceptance:system_tests'
steps:
- uses: actions/checkout@v2
- name: Install libcurl dev headers (needed to build the patron gem pulled in by faraday-patron)
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.puppet.ruby_version}}
bundler-cache: true
- run: bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
# check:symlinks is intentionally omitted here: that rake task no longer
# exists under the voxpupuli-test toolchain (confirmed via `rake --tasks`),
# unlike check:git_ignore/check:dot_underscore/check:test_file, which do.
- run: bundle exec rake syntax lint metadata_lint check:git_ignore check:dot_underscore check:test_file rubocop

parallel_spec:
needs:
Expand All @@ -36,19 +37,17 @@ jobs:
strategy:
matrix:
puppet:
- label: 'Puppet 6'
puppet_version: '~> 6'
ruby_version: '2.5'
- label: 'Puppet 7'
puppet_version: '~> 7'
ruby_version: '2.7'
- label: 'OpenVox 8 (Ruby 3.2)'
puppet_version: '~> 8.0'
ruby_version: '3.2'
- label: 'OpenVox 8 (Ruby 4.0)'
puppet_version: '~> 8.0'
ruby_version: '4.0'
env:
PUPPET_GEM_VERSION: ${{matrix.puppet.puppet_version}}
PUPPET_VERSION: ${{matrix.puppet.puppet_version}}
BUNDLE_WITHOUT: 'acceptance:system_tests'
steps:
- uses: actions/checkout@v2
- name: Install libcurl dev headers (needed to build the patron gem pulled in by faraday-patron)
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.puppet.ruby_version}}
Expand Down
Loading
Loading