Skip to content

Consider non-stable Rubies #15

Consider non-stable Rubies

Consider non-stable Rubies #15

Workflow file for this run

---
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{matrix.experimental}}
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
JRUBY_OPTS: '-X+O'
strategy:
fail-fast: false
matrix:
ruby:
- 2.4
- 2.5
- 2.6
- 2.7
- 3.0
- 3.1
- 3.2
- 3.3
- jruby
- truffleruby
experimental: [false]
include:
- ruby: jruby-head
experimental: true
- ruby: head
experimental: true
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build and test with RSpec
run: bin/rspec
- name: Publish code coverage
uses: paambaati/[email protected] # Locking to specific version b/c: https://github.com/paambaati/codeclimate-action/issues/142
if: matrix.ruby == '3.3' # Ruby 2.4 breaks the CC uploader. Also, we only need to upload one report.