forked from BDQ/deface
-
Notifications
You must be signed in to change notification settings - Fork 127
45 lines (38 loc) · 1.05 KB
/
main.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
on:
- push
- pull_request
jobs:
build:
name: "ruby ${{ matrix.combo.ruby }} / ${{ matrix.combo.gemfile }}"
strategy:
matrix:
combo:
# TODO: re-enable commented combos and expand the matrix to Ruby 3.1 and Rails 7+
# - ruby: "3.0"
# gemfile: "rails_6_1"
# - ruby: "2.7"
# gemfile: "rails_6_1"
- ruby: "2.6"
gemfile: "rails_6.1"
- ruby: "2.5"
gemfile: "rails_6.1"
# - ruby: "2.7"
# gemfile: "rails_6_0"
- ruby: "2.6"
gemfile: "rails_6.0"
- ruby: "2.5"
gemfile: "rails_6.0"
- ruby: "2.5"
gemfile: "rails_5.2"
runs-on: ubuntu-latest
env:
GEMFILE_PATH: gemfiles/${{ matrix.combo.gemfile }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.combo.ruby }}
- name: Setup project
run: bin/setup
- name: Run test
run: "bundle exec rake"