Skip to content

Try ruby 2.3 required in the gemspec file #28

Try ruby 2.3 required in the gemspec file

Try ruby 2.3 required in the gemspec file #28

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
ruby-versions:
if: ${{ startsWith(github.repository, 'ruby/') || github.event_name != 'schedule' }}
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.3
test:
needs: ruby-versions
name: test (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install packages
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt update -qy
sudo apt install libgdbm6 libgdbm-dev
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run test
run: rake compile test