File tree Expand file tree Collapse file tree 5 files changed +5
-19
lines changed
Expand file tree Collapse file tree 5 files changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,13 @@ jobs:
1717
1818 env :
1919 DB_TEST : mysql
20- MYSQL_DB_HOST : 127.0.0.1
21- MYSQL_DB_USERNAME : root
22- MYSQL_DB_PASSWORD : root
2320 RAILS_VERSION : 6.1
2421
2522 services :
2623 mysql :
2724 image : mysql
2825 env :
29- MYSQL_USER : root
30- MYSQL_PASSWORD : root
26+ MYSQL_PASSWORD : password
3127 # options: >-
3228 # --health-cmd="mysqladmin ping"
3329 # --health-interval 10s
Original file line number Diff line number Diff line change @@ -17,17 +17,13 @@ jobs:
1717
1818 env :
1919 DB_TEST : mysql
20- MYSQL_DB_HOST : 127.0.0.1
21- MYSQL_DB_USERNAME : root
22- MYSQL_DB_PASSWORD : root
2320 RAILS_VERSION : 7.2
2421
2522 services :
2623 mysql :
2724 image : mysql
2825 env :
29- MYSQL_USER : root
30- MYSQL_PASSWORD : root
26+ MYSQL_PASSWORD : password
3127 # options: >-
3228 # --health-cmd="mysqladmin ping"
3329 # --health-interval 10s
Original file line number Diff line number Diff line change @@ -17,17 +17,13 @@ jobs:
1717
1818 env :
1919 DB_TEST : mysql
20- MYSQL_DB_HOST : 127.0.0.1
21- MYSQL_DB_USERNAME : root
22- MYSQL_DB_PASSWORD : root
2320 RAILS_VERSION : 8.0
2421
2522 services :
2623 mysql :
2724 image : mysql
2825 env :
29- MYSQL_USER : root
30- MYSQL_PASSWORD : root
26+ MYSQL_PASSWORD : password
3127 # options: >-
3228 # --health-cmd="mysqladmin ping"
3329 # --health-interval 10s
Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ services:
5252 DB_PORT : 3306
5353 MYSQL_DB_HOST : mysql
5454 MYSQL_DB_NAME : test_db
55- MYSQL_DB_USERNAME : root
56- MYSQL_DB_PASSWORD : password
5755 depends_on :
5856 - mysql
5957
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ test: &test
2424 host : <%= ENV.fetch('MYSQL_DB_HOST') { '127.0.0.1' } %>
2525 # port: <%= ENV.fetch('MYSQL_DB_PORT') { 3306 } %>
2626 database : <%= ENV.fetch('MYSQL_DB_NAME') { "active_storage_db_#{Rails.version.tr('.', '')}-test" } %>
27- username : <%= ENV.fetch('MYSQL_DB_USERNAME') { '' } %>
28- password : <%= ENV.fetch('MYSQL_DB_PASSWORD') { '' } %>
27+ username : <%= ENV.fetch('MYSQL_DB_USERNAME') { 'root ' } %>
28+ password : <%= ENV.fetch('MYSQL_DB_PASSWORD') { 'password ' } %>
2929 pool : <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>
3030development :
3131 << : *test
You can’t perform that action at this time.
0 commit comments