-
Notifications
You must be signed in to change notification settings - Fork 11
67 lines (67 loc) · 1.72 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- ruby: 2.5.8
directory: 'spec/rails-3.2'
- ruby: 2.5.8
directory: 'spec/rails-4.2'
- ruby: 2.5.8
directory: 'spec/rails-5.2'
- ruby: 2.5.8
directory: 'spec/rails-6.1'
- ruby: 2.6.6
directory: 'spec/rails-4.2'
- ruby: 2.6.6
directory: 'spec/rails-5.2'
- ruby: 2.6.6
directory: 'spec/rails-6.1'
- ruby: 2.7.2
directory: 'spec/rails-5.2'
- ruby: 2.7.2
directory: 'spec/rails-6.1'
- ruby: 2.7.2
directory: 'spec/rails-7.0'
- ruby: 3.0.0
directory: 'spec/rails-6.1'
- ruby: 3.0.0
directory: 'spec/rails-7.0'
- ruby: 3.1.1
directory: 'spec/rails-6.1'
- ruby: 3.1.1
directory: 'spec/rails-7.0'
- ruby: 3.1.1
directory: 'spec/rails-7.1'
- ruby: 3.1.1
directory: 'spec/rails-7.2'
- ruby: 3.3.3
directory: 'spec/rails-7.0'
- ruby: 3.3.3
directory: 'spec/rails-7.1'
- ruby: 3.3.3
directory: 'spec/rails-7.2'
steps:
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Install bundler
run: gem install bundler:1.17.3
- name: Bundle
run: bundle install
working-directory: "${{ matrix.directory }}"
- name: Run tests
run: bundle exec rake spec
working-directory: "${{ matrix.directory }}"