Skip to content

Governance docs per CE PR 1226 #134

Governance docs per CE PR 1226

Governance docs per CE PR 1226 #134

Workflow file for this run

name: "CI tests"
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
tests:
if: ${{ github.repository == 'cloudevents/sdk-ruby' }}
strategy:
matrix:
include:
- os: ubuntu-latest
ruby: "2.5"
- os: ubuntu-latest
ruby: "2.6"
- os: ubuntu-latest
ruby: "2.7"
- os: ubuntu-latest
ruby: "3.0"
- os: ubuntu-latest
ruby: "3.1"
- os: ubuntu-latest
ruby: "3.2"
tool: ci
- os: ubuntu-latest
ruby: jruby
- os: ubuntu-latest
ruby: truffleruby
- os: macos-latest
ruby: "3.2"
- os: windows-latest
ruby: "3.2"
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Checkout repo
uses: actions/checkout@v2
- name: Install dependencies
shell: bash
run: "bundle install && gem install --no-document toys"
- name: Run ${{ matrix.tool || 'test' }}
shell: bash
env:
MT_COMPAT: "true"
run: |
toys "${{ matrix.tool || 'test' }}" < /dev/null