-
Notifications
You must be signed in to change notification settings - Fork 203
50 lines (50 loc) · 1.28 KB
/
build.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
name: Test
on:
pull_request:
push:
branches:
- "*"
tags:
- "*"
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.3
gemfile: Gemfile
- ruby: 3.3
gemfile: gemfiles/Gemfile-8-0
- ruby: 3.3
gemfile: gemfiles/Gemfile-7-2
- ruby: 3.2
gemfile: gemfiles/Gemfile-7-1
- ruby: 3.2
gemfile: gemfiles/Gemfile-7-0
- ruby: 3.2
gemfile: gemfiles/Gemfile-6-1
- ruby: 3.1
gemfile: gemfiles/Gemfile-7-0
- ruby: 3.0.0
gemfile: gemfiles/Gemfile-6-1
- ruby: 2.7
gemfile: gemfiles/Gemfile-6-0
- ruby: 2.6
gemfile: gemfiles/Gemfile-5-2
- ruby: 2.5
gemfile: gemfiles/Gemfile-5-0
env:
CI: 1
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
USE_OFFICIAL_GEM_SOURCE: 1
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rails test