1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Give MySQL password via envvar

This commit is contained in:
Akira Matsuda 2021-05-05 13:19:53 +09:00
parent 29396afad4
commit 883ed6249d
2 changed files with 2 additions and 1 deletions

View file

@ -84,6 +84,7 @@ jobs:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
DB: ${{ matrix.db }}
POSTGRES_PASSWORD: postgres # for passing the password to the Rails process
MYSQL_PASSWORD: root # for passing the password to the Rails process
steps:
- uses: actions/checkout@v2
- name: Start local MySQL

View file

@ -15,7 +15,7 @@ mysql: &mysql
adapter: mysql2
host: localhost
username: root
password: root
password: <%= ENV['MYSQL_PASSWORD'] %>
database: kaminari_test
test: