Trying to pass options directly
This commit is contained in:
parent
eaec0d5d00
commit
fadbbaa4a3
1 changed files with 7 additions and 6 deletions
13
.github/workflows/github_action_test_suite.yml
vendored
13
.github/workflows/github_action_test_suite.yml
vendored
|
|
@ -59,18 +59,19 @@ jobs:
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
--character-set-server-utf8mb4
|
||||||
|
--collation-server-utf8mb4_unicode_ci
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Reboot MySQL with custom options
|
# - name: Reboot MySQL with custom options
|
||||||
if: ${{ matrix.TESTING_DB == 'mysql' }}
|
# if: ${{ matrix.TESTING_DB == 'mysql' }}
|
||||||
run: |
|
# run: |
|
||||||
sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/conf.d/custom.cnf
|
# sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/conf.d/custom.cnf
|
||||||
sudo chown -R mysql:mysql /etc/mysql/conf.d/custom.cnf
|
# sudo chown -R mysql:mysql /etc/mysql/conf.d/custom.cnf
|
||||||
sudo service mysql restart
|
|
||||||
|
|
||||||
# - name: Set up database (${{ matrix.TESTING_DB }})
|
# - name: Set up database (${{ matrix.TESTING_DB }})
|
||||||
# uses: ./.github/actions/setup-database
|
# uses: ./.github/actions/setup-database
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue