Skip to content

Commit b9cd03a

Browse files
committed
💚 CI fixes
1 parent b05a89f commit b9cd03a

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/coverage.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ jobs:
5858
- name: Checkout
5959
uses: actions/checkout@v4
6060

61-
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
62-
# We need to do this first to get appraisal installed.
63-
# NOTE: This does not use the main Gemfile at all.
6461
- name: Setup Ruby & RubyGems
6562
uses: ruby/setup-ruby@v1
6663
with:
@@ -74,6 +71,11 @@ jobs:
7471
if: ${{ github.event_name != 'pull_request' }}
7572
continue-on-error: ${{ matrix.experimental != 'false' }}
7673

74+
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
75+
# We need to do this first to get appraisal installed.
76+
# NOTE: This does not use the main Gemfile at all.
77+
- name: Install Root Appraisal
78+
run: bundle
7779
- name: Appraisal for ${{ matrix.appraisal }}
7880
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
7981
- name: Tests for ${{ matrix.ruby }}@current via ${{ matrix.exec_cmd }}

.github/workflows/jruby.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ jobs:
7272
- name: Checkout
7373
uses: actions/checkout@v4
7474

75-
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
76-
# We need to do this first to get appraisal installed.
77-
# NOTE: This does not use the main Gemfile at all.
7875
- name: Setup Ruby & RubyGems
7976
uses: ruby/setup-ruby@v1
8077
with:
@@ -83,6 +80,11 @@ jobs:
8380
bundler: ${{ matrix.bundler }}
8481
bundler-cache: false
8582

83+
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
84+
# We need to do this first to get appraisal installed.
85+
# NOTE: This does not use the main Gemfile at all.
86+
- name: Install Root Appraisal
87+
run: bundle
8688
- name: Appraisal for ${{ matrix.appraisal }}
8789
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
8890
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}

0 commit comments

Comments
 (0)