-
Notifications
You must be signed in to change notification settings - Fork 81
55 lines (52 loc) · 1.67 KB
/
specs.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
name: Specs
on:
push:
paths-ignore:
- 'README.md'
- 'CHANGES.md'
pull_request:
schedule:
- cron: '52 8 * * *'
jobs:
test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-24.04
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'jruby-9.4.9.0']
gemfile: [ 'standalone', 'activemodel-5', 'activemodel-6', 'activemodel-7', 'activemodel-8' ]
exclude:
- ruby-version: '3.3'
gemfile: 'activemodel-5'
- ruby-version: '3.2'
gemfile: 'activemodel-5'
- ruby-version: '3.1'
gemfile: 'activemodel-5'
- ruby-version: '3.0'
gemfile: 'activemodel-5'
- ruby-version: '2.6'
gemfile: 'activemodel-7'
- ruby-version: 'jruby-9.4.9.0'
gemfile: 'activemodel-5'
- ruby-version: 'jruby-9.4.9.0'
gemfile: 'activemodel-8'
- ruby-version: '2.6'
gemfile: 'activemodel-8'
- ruby-version: '2.7'
gemfile: 'activemodel-8'
- ruby-version: '3.0'
gemfile: 'activemodel-8'
- ruby-version: '3.1'
gemfile: 'activemodel-8'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run specs
run: |
bundle exec rspec