Skip to content

Add origin detection fields #33

Add origin detection fields

Add origin detection fields #33

Workflow file for this run

name: Ruby Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: [2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4]
exclude:
# CRuby < 2.6 does not support macos-arm64.
- { os: macos-latest, ruby: '2.1' }
- { os: macos-latest, ruby: '2.2' }
- { os: macos-latest, ruby: '2.3' }
- { os: macos-latest, ruby: '2.4' }
- { os: macos-latest, ruby: '2.5' }
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: bundle install --with development
- name: Run tests
run: bundle exec rake spec