-
Notifications
You must be signed in to change notification settings - Fork 5
/
matrixeval.yml
82 lines (77 loc) · 1.67 KB
/
matrixeval.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
version: 0.4
target: ruby
project_name: multi-tenant-support
parallel_workers: number_of_processors
# commands:
# - ps
# - top
# - an_additional_command
# mounts:
# - /a/path/need/to/mount:/a/path/mount/to
env:
DATABASE_HOST: postgres
DATABASE_USERNAME: postgres
REDIS_HOST: redis
CI: 1
matrix:
ruby:
variants:
- key: 2.6
container:
image: ruby:2.6.9
- key: 2.7
container:
image: ruby:2.7.5
- key: 3.0
default: true
container:
image: ruby:3.0.3
- key: 3.1
container:
image: ruby:3.1.0
# - key: jruby-9.3
# container:
# image: jruby:9.3
# env:
# PATH: "/opt/jruby/bin:/app/bin:/bundle/bin:$PATH"
rails:
variants:
- key: 6.1
default: true
env:
RAILS_VERSION: "~> 6.1.0"
MIGRATION_VESRION: '6.1'
mounts:
- .matrixeval/schema/rails_6_1.rb:/app/test/dummy/db/schema.rb
- key: 7.0
env:
RAILS_VERSION: "~> 7.0.0"
MIGRATION_VESRION: '7.0'
mounts:
- .matrixeval/schema/rails_7_0.rb:/app/test/dummy/db/schema.rb
# another:
# variants:
# - key: key1
# default: true
# env:
# ENV_KEY: 1
# - key: key2
# env:
# ENV_KEY: 2
exclude:
- ruby: 2.6
rails: 7.0
# - ruby: jruby-9.3
# rails: 7.0
docker-compose-extend:
services:
postgres:
image: postgres:12.8
volumes:
- postgres12:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: trust
redis:
image: redis:6.2-alpine
volumes:
postgres12: