-
Notifications
You must be signed in to change notification settings - Fork 5
52 lines (52 loc) · 1.66 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
name: Test
on:
- push
- pull_request
jobs:
test:
name: "${{ matrix.name }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: "Ruby 3.3 & Active Support 7"
ruby-version: "3.3"
activesupport-version: "7"
- name: "Ruby 3.2 & Active Support 7"
ruby-version: "3.2"
activesupport-version: "7"
- name: "Ruby 3.1 & Active Support 7"
ruby-version: "3.1"
activesupport-version: "7"
- name: "Ruby 3.0 & Active Support 7"
ruby-version: "3.0"
activesupport-version: "7"
- name: "Ruby 2.7 & Active Support 7"
ruby-version: "2.7"
activesupport-version: "7"
- name: "Ruby 3.0 & Active Support 6"
ruby-version: "3.0"
activesupport-version: "6"
- name: "Ruby 2.7 & Active Support 6"
ruby-version: "2.7"
activesupport-version: "6"
- name: "Ruby 2.6 & Active Support 6"
ruby-version: "2.6"
activesupport-version: "6"
- name: "Ruby 2.7 & Active Support 5"
ruby-version: "2.7"
activesupport-version: "5"
- name: "Ruby 2.6 & Active Support 5"
ruby-version: "2.6"
activesupport-version: "5"
env:
BUNDLE_GEMFILE: gemfiles/activesupport${{ matrix.activesupport-version }}.gemfile
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Test
run: bundle exec rake test