File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 21
21
- uses : actions/checkout@v2
22
22
23
23
- run : cp development.env.template development.env
24
- - run : docker-compose build
25
- - run : docker-compose up -d db
26
- - run : docker-compose run --rm web bash -lc 'bin/rails db:create db:migrate'
27
- - run : docker-compose run --rm web bash -lc 'bin/rails test'
24
+ - run : docker-compose --file docker-compose.yml --file docker-compose.ci.yml build
25
+ - run : docker-compose --file docker-compose.yml --file docker-compose.ci.yml up -d db
26
+ - run : docker-compose --file docker-compose.yml --file docker-compose.ci.yml run --rm web bash -lc 'bin/rails db:create db:migrate'
27
+ - run : docker-compose --file docker-compose.yml --file docker-compose.ci.yml run --rm web bash -lc 'bin/rails test'
Original file line number Diff line number Diff line change 1
- FROM ruby:2.5.0
1
+ FROM ruby:2.7.1
2
2
3
- # Note: must install newer nodejs to work around
4
- # https://github.com/docker-library/ruby/issues/226
5
3
RUN apt-get update -qq &&\
6
4
curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\
7
5
apt-get install -y build-essential libpq-dev nodejs &&\
Original file line number Diff line number Diff line change @@ -298,6 +298,3 @@ DEPENDENCIES
298
298
spring-watcher-listen (~> 2.0.0 )
299
299
uglifier (>= 1.3.0 )
300
300
web-console (>= 3.3.0 )
301
-
302
- BUNDLED WITH
303
- 1.16.1
Original file line number Diff line number Diff line change
1
+ web :
2
+ env_file :
3
+ - development.env.template
Original file line number Diff line number Diff line change 1
1
db :
2
2
image : postgres:10
3
+ environment :
4
+ POSTGRES_HOST_AUTH_METHOD : trust
3
5
ports :
4
6
- ' 5432:5432'
5
7
You can’t perform that action at this time.
0 commit comments