WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Merge pull request #94 from rubygems/update-funding #198

Merge pull request #94 from rubygems/update-funding

Merge pull request #94 from rubygems/update-funding #198

Workflow file for this run

name: rubygems
on:
pull_request:
push:
branches:
- main
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
rubygems:
name: Rubygems on ${{ matrix.os.name }} (${{ matrix.ruby.name }})
runs-on: ${{ matrix.os.value }}
strategy:
fail-fast: false
matrix:
os:
- { name: Ubuntu, value: ubuntu-22.04 }
- { name: macOS, value: macos-14 }
- { name: Windows, value: windows-2022 }
ruby:
- { name: "3.0", value: 3.0.7 }
- { name: "3.1", value: 3.1.7 }
- { name: "3.2", value: 3.2.4 }
- { name: "3.3", value: 3.3.3 }
- { name: "3.4", value: 3.4.7 }
include:
- ruby: { name: jruby-9.4, value: jruby-9.4.8.0 }
os: { name: Ubuntu, value: ubuntu-22.04 }
# - ruby: { name: truffleruby, value: truffleruby-24.0.1 }
# os: { name: Ubuntu, value: ubuntu-22.04 }
- os: { name: Windows, value: windows-2022 }
ruby: { name: mswin, value: mswin }
- os: { name: Ubuntu, value: ubuntu-22.04 }
ruby: { name: ruby-head, value: ruby-head }
- os: { name: Ubuntu, value: ubuntu-22.04 }
ruby: { name: truffleruby-head, value: truffleruby-head }
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Setup ruby
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
with:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
- name: Run Test
run: bundle exec rake test
if: "!startsWith(matrix.ruby.name, 'truffleruby') && !startsWith(matrix.ruby.name, 'jruby')"
- name: Run Test isolatedly
run: bundle exec rake test:isolated
if: matrix.ruby.name == '3.2' && matrix.os.name != 'Windows'
- name: Run Test (JRuby)
run: JRUBY_OPTS=--debug bundle exec rake test
if: startsWith(matrix.ruby.name, 'jruby')
- name: Run Test (Truffleruby)
run: TRUFFLERUBYOPT="--experimental-options --testing-rubygems" bundle exec rake test
if: startsWith(matrix.ruby.name, 'truffleruby')
timeout-minutes: 20