Skip to content

Commit 6c0f80f

Browse files
authored
Merge pull request #15 from mhashizume/maint/main/bundler-cache
Unit test updates
2 parents 233bcc7 + 47c87e4 commit 6c0f80f

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/unit_tests_with_nightly_puppet_gem.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ jobs:
2929
env_set_cmd: '$env:'
3030
# setup-ruby uses ucrt for newer Rubies, but we only support mingw
3131
# in our Windows Puppet nightly gems. For now, we'll just install
32-
# the universal gem and manually install the ffi dependency
32+
# the universal gem and manually install the ffi dependency.
33+
# Use the latest known good version of the ffi gem.
3334
gem_file: 'puppet-latest.gem'
34-
extra_steps: 'gem install ffi --version 1.15.5'
35+
extra_steps: 'gem install ffi --version 1.16.3'
3536

3637
runs-on: ${{ matrix.os }}
3738
steps:

.github/workflows/unit_tests_with_released_puppet_gem.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@ jobs:
3434
uses: ruby/setup-ruby@v1
3535
with:
3636
ruby-version: ${{ matrix.ruby }}
37-
38-
- name: Prepare testing environment with bundler
39-
run: |
40-
git config --global core.longpaths true
41-
bundle config set system 'true'
42-
bundle config set --local without 'release'
43-
bundle update --jobs 4 --retry 3
37+
bundler-cache: true
4438

4539
- name: Run unit tests
4640
run: bundle exec rake parallel_spec

0 commit comments

Comments
 (0)