Skip to content

Commit 9ce5c82

Browse files
hsbtclaude
andcommitted
Run the tests through bundle exec
Without it the tests load whatever net/protocol the Ruby ships rather than the net-protocol the gemspec requires, so on Ruby 2.7, where net/protocol is plain stdlib and not a default gem, readuntil has no limit keyword. BUNDLE_WITHOUT moves to the job so that bundle exec does not then demand the sig group install skipped. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 132c8cc commit 9ce5c82

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1919
os: [ ubuntu-latest, macos-latest, windows-latest ]
2020
runs-on: ${{ matrix.os }}
21+
env:
22+
BUNDLE_WITHOUT: sig
2123
steps:
2224
- uses: actions/checkout@v7
2325
- name: Set up Ruby
@@ -26,11 +28,9 @@ jobs:
2628
ruby-version: ${{ matrix.ruby }}
2729
- name: Install dependencies
2830
run: bundle install
29-
env:
30-
BUNDLE_WITHOUT: sig
3131
- name: Run test
32-
run: rake test
32+
run: bundle exec rake test
3333
- name: Build
34-
run: rake build
34+
run: bundle exec rake build
3535
env:
3636
LANG: C

0 commit comments

Comments
 (0)