forked from remi/her
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 877 Bytes
/
ci.yml
File metadata and controls
40 lines (33 loc) · 877 Bytes
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
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.2", "3.3"]
gemfile:
- gemfiles/Gemfile.activemodel-6.1
- gemfiles/Gemfile.activemodel-7.0
- gemfiles/Gemfile.activemodel-7.1
- gemfiles/Gemfile.activemodel-7.2
- gemfiles/Gemfile.activemodel-8.0
exclude:
- ruby: "3.1"
gemfile: gemfiles/Gemfile.activemodel-8.0
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run specs
run: bundle exec rake spec