-
Notifications
You must be signed in to change notification settings - Fork 22
39 lines (37 loc) · 853 Bytes
/
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
name: Build
on:
push:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
CI: true
strategy:
fail-fast: false
matrix:
ruby: ["3.0"]
gemfile: ["gemfiles/rails7.gemfile"]
include:
- ruby: "2.6"
gemfile: "gemfiles/rails6.gemfile"
- ruby: "3.1"
gemfile: "gemfiles/railsmaster.gemfile"
- ruby: "2.7"
gemfile: "gemfiles/rails6.gemfile"
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Ruby Next
run: bundle exec rake nextify
- name: Run tests
run: |
bundle exec rake test:isolated