Skip to content

Build the extension library only when CRuby (Fix #69) #193

Build the extension library only when CRuby (Fix #69)

Build the extension library only when CRuby (Fix #69) #193

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.5
versions: [ jruby-head ]

Check failure on line 11 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 11, Col: 17): A sequence was not expected
build:
needs: ruby-versions
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest, windows-latest ]
include:
- ruby: mswin
os: windows-latest
exclude:
- ruby: 2.5
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run test
run: bundle exec rake test