run: |
git config --global core.longpaths true
bundle config set system 'true'
+ bundle config set --local without 'release'
${{ matrix.env_set_cmd }}PUPPET_GEM_VERSION=$(ruby -e 'puts /puppet\s+\((.+)\)/.match(`gem list -eld puppet`)[1]')
bundle update --jobs 4 --retry 3
- name: Prepare testing environment with bundler
run: |
git config --global core.longpaths true
+ bundle config set --local without 'release'
bundle update --jobs 4 --retry 3
- name: Run commits check
run: |
git config --global core.longpaths true
bundle config set system 'true'
+ bundle config set --local without 'release'
${{ matrix.env_set_cmd }}PUPPET_GEM_VERSION=$(ruby -e 'puts /puppet\s+\((.+)\)/.match(`gem list -eld puppet`)[1]')
bundle update --jobs 4 --retry 3
run: |
git config --global core.longpaths true
bundle config set system 'true'
+ bundle config set --local without 'release'
bundle update --jobs 4 --retry 3
- name: Run unit tests
gem "beaker-hostgenerator"
gem "beaker-rspec"
gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION'] || '~> 1.0')
- gem "pdk", '~> 1.18', platforms: [:ruby]
+end
+
+group :release do
gem "puppet-blacksmith", '~> 3.4', require: false
+ gem "pdk", platforms: [:ruby]
end
puppet_version = ENV['PUPPET_GEM_VERSION']