-
Notifications
You must be signed in to change notification settings - Fork 201
33 lines (24 loc) · 844 Bytes
/
test.yaml
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
name: test
on: [ push, pull_request ]
jobs:
test:
if: " ! (contains(github.event.head_commit.message, 'skip ci') || contains(github.event.head_commit.message, 'ci skip'))"
name: ${{matrix.ruby}} on ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-latest ]
ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', 'jruby-9.2', 'jruby-9.3' ]
experimental: [ false ]
fail-fast: false
runs-on: ${{matrix.os}}
continue-on-error: ${{matrix.experimental}}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true # 'bundle install' and cache
- run: ruby --version
- run: gem --version
- run: bundle --version
- run: bundle exec rspec --force-color --format documentation