-
Notifications
You must be signed in to change notification settings - Fork 83
51 lines (49 loc) · 1.33 KB
/
test.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
42
43
44
45
46
47
48
49
50
51
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Test on Rails ${{ matrix.rails_version }} and Ruby ${{ matrix.ruby_version }}
strategy:
fail-fast: false
matrix:
include:
- rails_version: 8.0.0.rc1
ruby_version: '3.3'
sqlite_version: ~> 2.0
- rails_version: ~> 7.2.0
ruby_version: '3.3'
sqlite_version: ~> 2.0
- rails_version: ~> 7.2.0
ruby_version: '3.2'
sqlite_version: ~> 2.0
- rails_version: ~> 7.2.0
ruby_version: '3.1'
sqlite_version: ~> 2.0
- rails_version: ~> 7.1.0
ruby_version: '3.3'
sqlite_version: ~> 1.0
- rails_version: ~> 7.0.0
ruby_version: '3.2'
sqlite_version: ~> 1.0
- rails_version: ~> 6.1.0
ruby_version: '3.0'
sqlite_version: ~> 1.0
env:
RAILS_VERSION: ${{ matrix.rails_version }}
SQLITE_VERSION: ${{ matrix.sqlite_version }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Bundle install
run: bundle install
- name: Test
run: bundle exec rake