Skip to content

Add github actions

Add github actions #1

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
permissions:
contents: read
jobs:
test:
name: Test with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: ['2.7', '3.0', '3.1', '3.2']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: ./run_tests.sh