-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (38 loc) · 1.08 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
push:
branches: [ master ]
pull_request:
types: [opened, synchronize, reopened]
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- ruby-version: '2.7.8'
bundler-version: '2.4.22'
- ruby-version: '3.0.7'
bundler-version: '2.5.23'
- ruby-version: '3.1.6'
bundler-version: '2.6.1'
- ruby-version: '3.3.6'
bundler-version: '2.6.1'
- ruby-version: '3.4.0-rc1'
bundler-version: '2.6.1'
- ruby-version: 'jruby'
bundler-version: '2.6.1'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: ${{ matrix.bundler-version }}
bundler-cache: true
- name: Run tests
env:
COVERALLS: ${{ matrix.ruby-version != 'jruby' }}
JRUBY_OPTS: ${{ matrix.ruby-version == 'jruby' && '--debug' || '' }}
run: bundle exec rake