-
Notifications
You must be signed in to change notification settings - Fork 100
43 lines (35 loc) · 830 Bytes
/
test.yml
File metadata and controls
43 lines (35 loc) · 830 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Test
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version:
- '2.6'
- '2.7'
- '3.0'
rails_version:
- '5.2.6'
- '6.0.4'
- '6.1.4'
- '7.0.0'
exclude:
- ruby_version: '3.0'
rails_version: '5.2.6'
- ruby_version: '2.6'
rails_version: '7.0.0'
name: Ruby ${{ matrix.ruby_version }} / Rails ${{ matrix.rails_version }}
env:
RAILS: ${{ matrix.rails_version }}
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Test
run: bundle exec rspec spec