docs: Governance docs per CE PR 1226 (#76) #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |