-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (43 loc) · 1017 Bytes
/
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
name: test
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.5.9"
- "2.6.10"
- "2.7.8"
- "3.0.6"
gemfile:
- gemfiles/activesupport_5_2.gemfile
- gemfiles/activesupport_6_0.gemfile
- gemfiles/activesupport_6_1.gemfile
exclude:
- ruby: "3.0.6"
gemfile: gemfiles/activesupport_5_2.gemfile
services:
memcached_11211:
image: memcached
ports:
- 11211:11211
memcached_21211:
image: memcached
ports:
- 21211:11211
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec