Skip to content

Commit

Permalink
Merge pull request #50 from puppetlabs/maint-fix_gem_env_vars
Browse files Browse the repository at this point in the history
(MAINT) Fix gem env vars
  • Loading branch information
jordanbreen28 authored Apr 13, 2023
2 parents 5fa2719 + 3daccb4 commit a0a4e41
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
ruby_version:
- "2.7"
- "3.2"
puppet_gem_version:
- '~> 7.0'
- 'https://github.com/puppetlabs/puppet' # puppet8
include:
- ruby-version: '2.7'
puppet_gem_version: '~> 7.0'
- ruby_version: '3.2'
puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
runs_on:
- "ubuntu-latest"
- "windows-latest"
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:
fail-fast: false
matrix:
ruby_version:
- "2.5"
- "2.7"
puppet_gem_version:
- '~> 6.0'
- '~> 7.0'
- "3.2"
include:
- ruby-version: '2.7'
puppet_gem_version: '~> 7.0'
- ruby_version: '3.2'
puppet_gem_version: 'https://github.com/puppetlabs/puppet' # puppet8'
runs_on:
- "ubuntu-latest"
- "windows-latest"
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ end

group :test do

gem 'puppet', *location_for(ENV['PUPPET_LOCATION'])
gem 'facter', *location_for(ENV['FACTER_LOCATION'])
gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION'])
gem 'facter', *location_for(ENV['FACTER_GEM_VERSION'])

gem 'json_pure'
gem 'sync'
Expand Down

0 comments on commit a0a4e41

Please sign in to comment.