@@ -7,9 +7,11 @@ services:
7
7
dockerfile : ./ci/Dockerfile.test_5_2_ruby_2_6
8
8
environment :
9
9
RAILS_ENV : test
10
+ volumes :
11
+ - " ../ci/artifacts:/app/ci/artifacts"
10
12
links :
11
13
- " postgres_test_5_2_ruby_2_6:postgres_test"
12
- command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && cp yarn.lock ./ci/yarn.lock"
14
+ command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/artifacts/ Gemfile.lock && cp yarn.lock ./ci/artifacts /yarn.lock"
13
15
user : ${CURRENT_UID}
14
16
15
17
test_6_0_ruby_2_6 :
@@ -18,9 +20,11 @@ services:
18
20
dockerfile : ./ci/Dockerfile.test_6_0_ruby_2_6
19
21
environment :
20
22
RAILS_ENV : test
23
+ volumes :
24
+ - " ../ci/artifacts:/app/ci/artifacts"
21
25
links :
22
26
- " postgres_test_6_0_ruby_2_6:postgres_test"
23
- command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && cp yarn.lock ./ci/yarn.lock"
27
+ command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/artifacts/ Gemfile.lock && cp yarn.lock ./ci/artifacts /yarn.lock"
24
28
user : ${CURRENT_UID}
25
29
26
30
test_6_1_ruby_2_7 :
@@ -29,9 +33,11 @@ services:
29
33
dockerfile : ./ci/Dockerfile.test_6_1_ruby_2_7
30
34
environment :
31
35
RAILS_ENV : test
36
+ volumes :
37
+ - " ../ci/artifacts:/app/ci/artifacts"
32
38
links :
33
39
- " postgres_test_6_1_ruby_2_7:postgres_test"
34
- command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && cp yarn.lock ./ci/yarn.lock"
40
+ command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/artifacts/ Gemfile.lock && cp yarn.lock ./ci/artifacts /yarn.lock"
35
41
user : ${CURRENT_UID}
36
42
37
43
test_6_1_ruby_3_0 :
@@ -40,9 +46,11 @@ services:
40
46
dockerfile : ./ci/Dockerfile.test_6_1_ruby_3_0
41
47
environment :
42
48
RAILS_ENV : test
49
+ volumes :
50
+ - " ../ci/artifacts:/app/ci/artifacts"
43
51
links :
44
52
- " postgres_test_6_1_ruby_3_0:postgres_test"
45
- command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/Gemfile.lock && cp yarn.lock ./ci/yarn.lock"
53
+ command : sh -c "bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rspec spec/test && cp Gemfile.lock ./ci/artifacts/ Gemfile.lock && cp yarn.lock ./ci/artifacts /yarn.lock"
46
54
user : ${CURRENT_UID}
47
55
48
56
postgres_test_base : &postgres_test_base
0 commit comments