-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,9 @@ jobs: | |
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Setup MySQL | ||
uses: mirromutth/mysql[email protected] | ||
- name: Setup MariaDB | ||
uses: getong/mariadb[email protected] | ||
with: | ||
mysql version: '8.0' | ||
mysql database: 'prestashop' | ||
mysql root password: 'password' | ||
- name: Setup Node | ||
|
@@ -74,8 +73,8 @@ jobs: | |
- name: Build all assets | ||
run: make assets | ||
|
||
- name: Change MySQL authentication method | ||
run: mysql -h127.0.0.1 -uroot -ppassword -e "ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'password'; FLUSH PRIVILEGES;" | ||
- name: Change MariaDB authentication method | ||
run: mysql -h127.0.0.1 -uroot -ppassword -e "ALTER USER root@localhost IDENTIFIED VIA mysql_native_password USING PASSWORD('password'); FLUSH PRIVILEGES;" | ||
|
||
- name: Run integration-tests | ||
run: composer run-script integration-tests --timeout=0 | ||
|