Skip to content

Commit

Permalink
Merge pull request #758 from MSP-Greg/00-ci-windows
Browse files Browse the repository at this point in the history
[CI] test.yml - use `bundle exec`, use setup-ruby bundler-cache, fixes Windows issue
  • Loading branch information
rhenium authored May 9, 2024
2 parents b73df97 + e774b23 commit 818aa9f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
os: [ ubuntu-22.04, ubuntu-20.04, macos-latest, windows-latest ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
# uses non-standard MSYS2 OpenSSL 3 package
- { os: windows-latest, ruby: head }
- { os: windows-latest, ruby: truffleruby }
- { os: windows-latest, ruby: truffleruby-head }
- { os: macos-latest, ruby: truffleruby }
Expand All @@ -38,9 +36,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: depends
run: bundle install
bundler-cache: true # `bundle install` and cache

# Enable the verbose option in mkmf.rb to print the compiling commands.
- name: enable mkmf verbose
Expand All @@ -52,10 +48,10 @@ jobs:
if: ${{ !matrix.skip-warnings }}

- name: compile
run: rake compile
run: bundle exec rake compile

- name: test
run: rake test TESTOPTS="-v --no-show-detail-immediately"
run: bundle exec rake test TESTOPTS="-v --no-show-detail-immediately"
timeout-minutes: 5

test-openssls:
Expand Down

0 comments on commit 818aa9f

Please sign in to comment.