@@ -57,7 +57,7 @@ services:
57
57
environment :
58
58
RAILS_ENV : test
59
59
links :
60
- - postgres_test
60
+ - postgres_test_5_2_ruby_2_6
61
61
command : " bundle exec rspec spec/test"
62
62
user : ${CURRENT_UID}
63
63
@@ -68,7 +68,7 @@ services:
68
68
environment :
69
69
RAILS_ENV : test
70
70
links :
71
- - postgres_test
71
+ - postgres_test_6_0_ruby_2_6
72
72
command : " bundle exec rspec spec/test"
73
73
user : ${CURRENT_UID}
74
74
@@ -79,7 +79,7 @@ services:
79
79
environment :
80
80
RAILS_ENV : test
81
81
links :
82
- - postgres_test
82
+ - postgres_test_6_1_ruby_2_7
83
83
command : " bundle exec rspec spec/test"
84
84
user : ${CURRENT_UID}
85
85
@@ -90,7 +90,7 @@ services:
90
90
environment :
91
91
RAILS_ENV : test
92
92
links :
93
- - postgres_test
93
+ - postgres_test_6_1_ruby_3_0
94
94
command : " bundle exec rspec spec/test"
95
95
user : ${CURRENT_UID}
96
96
@@ -105,17 +105,32 @@ services:
105
105
volumes :
106
106
- dummy-data-volume:/var/lib/postgresql/data
107
107
108
- postgres_test :
108
+ postgres_test_base : &postgres_test_base
109
109
image : postgres
110
110
expose :
111
111
- 5432
112
112
environment :
113
113
POSTGRES_USER : postgres
114
114
POSTGRES_PASSWORD : postgres
115
115
POSTGRES_DB : test
116
+
117
+ postgres_test :
118
+ << : *postgres_test_base
116
119
volumes :
117
120
- test-data-volume:/var/lib/postgresql/data
118
121
122
+ postgres_test_6_1_ruby_3_0 :
123
+ << : *postgres_test_base
124
+
125
+ postgres_test_6_1_ruby_2_7 :
126
+ << : *postgres_test_base
127
+
128
+ postgres_test_6_0_ruby_2_6 :
129
+ << : *postgres_test_base
130
+
131
+ postgres_test_5_2_ruby_2_6 :
132
+ << : *postgres_test_base
133
+
119
134
volumes :
120
135
test-data-volume :
121
136
dummy-data-volume :
0 commit comments