-
-
Notifications
You must be signed in to change notification settings - Fork 80
26 lines (23 loc) · 676 Bytes
/
ci.yml
File metadata and controls
26 lines (23 loc) · 676 Bytes
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
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ '3.2', '3.3', '3.4' ] # , 'ruby-head' ]
rubyopt: ['']
include:
- ruby: '3.4'
rubyopt: "--enable-frozen-string-literal --debug-frozen-string-literal"
name: Ruby ${{ matrix.ruby }} tests
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests ${{ matrix.rubyopt }}
run: bundle exec rake test RUBYOPT="${{ matrix.rubyopt }}"