File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1010 DB_ADAPTER : mysql2
1111 MYSQL_PWD : root
1212 RAILS_ENV : test
13- WICKED_PDF_PATH : vendor/bundle/bin/wkhtmltopdf
1413
1514 steps :
1615 # Checkout the repo
7978 run : |
8079 yarn install
8180
81+ # Figure out where wkhtmltopdf is installed
82+ - name : ' Determine wkhtmltopdf location'
83+ run : echo ::set-env name=WICKED_PDF_PATH::$(echo `bundle exec which wkhtmltopdf`)
84+
8285 # Setup the database
8386 - name : ' Setup Test DB'
8487 run : bundle exec rake db:setup RAILS_ENV=test
Original file line number Diff line number Diff line change 99 services :
1010 # Postgres installation
1111 db :
12- image : postgres:11
12+ image : postgres
13+ env :
14+ # Latest version of Postgres has increased security. We can use the default
15+ # user/password in this testing scenario though so use the following env
16+ # variable to bypass this changes:
17+ # https://github.com/docker-library/postgres/issues/681
18+ POSTGRES_HOST_AUTH_METHOD : trust
1319 ports : ['5432:5432']
1420 options : >-
1521 --health-cmd pg_isready
8490 ${{ runner.os }}-yarn-
8591 ${{ runner.os }}-
8692
93+ # Figure out where wkhtmltopdf is installed
94+ - name : ' Determine wkhtmltopdf location'
95+ run : echo ::set-env name=WICKED_PDF_PATH::$(echo `bundle exec which wkhtmltopdf`)
96+
8797 # Install the JS dependencies
8898 - name : ' Yarn Install'
8999 run : |
You can’t perform that action at this time.
0 commit comments