-
Notifications
You must be signed in to change notification settings - Fork 3
86 lines (74 loc) · 2.19 KB
/
legacy_ruby.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Legacy Ruby specs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: Legacy Ruby specs
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.1', '2.2', '2.3', '2.4', '2.5']
gemfile: [am_3.2, am_4.0, am_4.1, am_4.2, am_5.0, am_5.1, am_5.2, am_6.0, am_6.1]
channel: [stable]
exclude:
- ruby-version: '2.1'
gemfile: am_5.0
- ruby-version: '2.1'
gemfile: am_5.1
- ruby-version: '2.1'
gemfile: am_5.2
- ruby-version: '2.1'
gemfile: am_6.0
- ruby-version: '2.1'
gemfile: am_6.1
- ruby-version: '2.2'
gemfile: am_6.0
- ruby-version: '2.2'
gemfile: am_6.1
- ruby-version: '2.3'
gemfile: am_4.0
- ruby-version: '2.3'
gemfile: am_4.1
- ruby-version: '2.3'
gemfile: am_6.0
- ruby-version: '2.3'
gemfile: am_6.1
- ruby-version: '2.4'
gemfile: am_3.2
- ruby-version: '2.4'
gemfile: am_4.0
- ruby-version: '2.4'
gemfile: am_4.1
- ruby-version: '2.4'
gemfile: am_6.0
- ruby-version: '2.4'
gemfile: am_6.1
- ruby-version: '2.5'
gemfile: am_3.2
- ruby-version: '2.5'
gemfile: am_4.0
- ruby-version: '2.5'
gemfile: am_4.1
- ruby-version: '2.5'
gemfile: am_4.2
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
TEST_CONFIG: ./spec/config.github.yml
# Ruby < 2.3 fail with segmentation fault so they are allowed to fail
# On ubuntu-20.04, also 2.3 fails, maybe this is an issue with libcurl
# (should investigate)
continue-on-error: ${{ matrix.channel != 'stable' || matrix.ruby < '2.3' }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run specs
run: bundle exec rake spec