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:
parent
29396afad4
commit
883ed6249d
2 changed files with 2 additions and 1 deletions
1
.github/workflows/ruby.yml
vendored
1
.github/workflows/ruby.yml
vendored
|
@ -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
|
||||
|
|
|
@ -15,7 +15,7 @@ mysql: &mysql
|
|||
adapter: mysql2
|
||||
host: localhost
|
||||
username: root
|
||||
password: root
|
||||
password: <%= ENV['MYSQL_PASSWORD'] %>
|
||||
database: kaminari_test
|
||||
|
||||
test:
|
||||
|
|
Loading…
Reference in a new issue