Skip to content

ci

ci #47

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '45 4 * * *'
jobs:
platforms:
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
ruby: ['2.6']
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
rubocop:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
bundler-cache: true
- run: bundle exec rubocop
rubies:
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', 'ruby-head', 'debug', 'truffleruby', 'truffleruby-head']
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
psych4:
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: ['3.0']
runs-on: ${{ matrix.os }}-latest
env:
PSYCH_4: "1"
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
minimal:
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: ['jruby']
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bin/test-minimal-support