Skip to content

Commit 362662d

Browse files
Merge pull request #22 from puppetlabs/limit-multijson-to-ubuntu-ruby27
Only install multi_json on ubuntu and ruby 2.7
2 parents 93547ff + c33c17b commit 362662d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- puppet_version: '8'
1717
ruby: '3.1'
1818

19+
- os: 'ubuntu-latest'
20+
ruby: '2.7'
21+
extra_steps: 'gem install multi_json -v 1.15.0'
1922
- os: 'ubuntu-latest'
2023
os_type: 'Linux'
2124
env_set_cmd: 'export '
@@ -48,9 +51,6 @@ jobs:
4851
run: |
4952
${{ matrix.extra_steps }}
5053
curl https://nightlies.puppet.com/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem --location
51-
if [[ ${{ matrix.ruby }} == "2.7" ]]; then
52-
gem install multi_json -v 1.15.0
53-
fi
5454
gem install puppet.gem -N
5555
5656
- name: Prepare testing environment with bundler

0 commit comments

Comments
 (0)