Skip to content

Add Ruby head to the matrix #44

Add Ruby head to the matrix

Add Ruby head to the matrix #44

Workflow file for this run

name: CI
on:
push:
paths:
- '**.el'
- '**.rb'
- '**ci.yml'
- 'Rakefile'
- 'Makefile'
- 'Gemfile'
- 'Gemfile.lock'
branches:
- master
- drop_compat
pull_request:
paths:
- '**.el'
- '**.rb'
- '**ci.yml'
- 'Rakefile'
- 'Makefile'
- 'Gemfile'
- 'Gemfile.lock'
branches:
- master
jobs:
rspec:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: metrics
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3]
experimental: [false]
include:
- ruby: head
experimental: true
- ruby: jruby-head
experimental: true
steps:
- name: Checkout Robe
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Ruby tests
run: bundle exec rake spec
ert:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version: [26.3, 27.2, 28.1, 29.2, snapshot]
steps:
- name: Setup Emacs
uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: Checkout Robe
uses: actions/checkout@v2
- name: Install inf-ruby
run: make deps
- name: Run Emacs tests
run: make ert