Try to fix mysql service for github actions

This commit is contained in:
Alexander Meindl
2021-03-18 06:55:12 +01:00
parent 6c9351933d
commit 693bedf63c
3 changed files with 6 additions and 7 deletions

View File

@@ -36,8 +36,7 @@ jobs:
image: mysql:5.7
env:
MYSQL_USER: root
MYSQL_PASSWORD: ''
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_PASSWORD: 'BestPasswordEver'
ports:
- 3306:3306
options: >-
@@ -49,7 +48,7 @@ jobs:
steps:
- name: Verify MySQL connection from host
run: |
mysql --host 127.0.0.1 --port 3306 -uroot -e "SHOW DATABASES"
mysql --host 127.0.0.1 --port 3306 -uroot -pBestPasswordEver -e "SHOW DATABASES"
if: matrix.db == 'mysql'
- name: Checkout Redmine

View File

@@ -29,7 +29,7 @@ linters:
- Lint/Void
- Metrics/BlockLength
- Metrics/BlockNesting
- Metrics/LineLength
- Layout/LineLength
- Naming/FileName
- Rails/OutputSafety
- Style/ConditionalAssignment

View File

@@ -4,7 +4,7 @@ production:
host: 127.0.0.1
port: 3306
username: root
password:
password: BestPasswordEver
encoding: utf8mb4
development:
@@ -13,7 +13,7 @@ development:
port: 3306
host: 127.0.0.1
username: root
password:
password: BestPasswordEver
encoding: utf8mb4
test:
@@ -22,5 +22,5 @@ test:
port: 3306
host: 127.0.0.1
username: root
password:
password: BestPasswordEver
encoding: utf8mb4