forked from activeadmin/activeadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (57 loc) · 1.76 KB
/
ci.yaml
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
---
name: ci
on: [push]
jobs:
test:
name: test (${{ matrix.ruby.name }}, ${{ matrix.deps }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
include:
- ruby: { name: 3.3, value: 3.3.6 }
deps: rails_80
os: ubuntu-24.04
- ruby: { name: 3.3, value: 3.3.6 }
deps: rails_72
os: ubuntu-24.04
- ruby: { name: 3.3, value: 3.3.6 }
deps: rails_71
os: ubuntu-24.04
- ruby: { name: 3.2, value: 3.2.2 }
deps: rails_71
os: ubuntu-22.04
- ruby: { name: 3.2, value: 3.2.2 }
deps: rails_70
os: ubuntu-22.04
- ruby: { name: 3.2, value: 3.2.2 }
deps: rails_70_hotwire
os: ubuntu-22.04
- ruby: { name: 3.1, value: 3.1.6 }
deps: rails_70
os: ubuntu-22.04
- ruby: { name: 3.1, value: 3.1.6 }
deps: rails_70_hotwire
os: ubuntu-22.04
- ruby: { name: 3.1, value: 3.1.2 }
deps: rails_61
os: ubuntu-22.04
- ruby: { name: 3.1, value: 3.1.2 }
deps: rails_61_turbolinks
os: ubuntu-22.04
fail-fast: false
env:
COVERAGE: false
SUPPRESS_JASMINE_DEPRECATION: true
steps:
- uses: actions/checkout@v4
- name: Configure bundler
run: |
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.deps }}.gemfile" >> $GITHUB_ENV
echo "BUNDLE_PATH=$(pwd)/gemfiles/${{ matrix.deps }}/vendor/bundle" >> $GITHUB_ENV
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
- name: Run tests
run: bundle exec rake