Skip to content

Merge pull request #17 from RubyElders/read-buffer #33

Merge pull request #17 from RubyElders/read-buffer

Merge pull request #17 from RubyElders/read-buffer #33

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: >-
Test (${{ matrix.os }} ${{ matrix.ruby }})
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
ruby:
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- "3.0"
- jruby
- truffleruby
exclude:
- os: windows
ruby: jruby
- os: windows
ruby: truffleruby
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- uses: codecov/codecov-action@v2
if: ${{ matrix.os == 'ubuntu' && matrix.ruby == '3.0' }}
with:
file: ./coverage/coverage.xml
fail_ci_if_error: true