fix: try github actions MySQL
This commit is contained in:
parent
f9084ac565
commit
856ef452f3
1 changed files with 8 additions and 5 deletions
13
.github/workflows/exec.yml
vendored
13
.github/workflows/exec.yml
vendored
|
@ -23,16 +23,19 @@ jobs:
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
- name: Setup MySQL Tuner repository
|
||||||
- uses: mirromutth/mysql-action@v1.1
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up MySQL
|
||||||
|
uses: mirromutth/mysql-action@v1.1
|
||||||
with:
|
with:
|
||||||
mysql root password: root
|
mysql root password: root
|
||||||
|
|
||||||
- name: Cloning test_db dataset
|
- name: Cloning test_db dataset
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/datacharmer/test_db.git
|
git clone https://github.com/datacharmer/test_db.git
|
||||||
cd test_db
|
cd test_db
|
||||||
mysql < ./employees.sql
|
mysql -uroot -proot < ./employees.sql
|
||||||
cd -
|
cd -
|
||||||
rm -rf test_db
|
rm -rf test_db
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
|
|
Loading…
Reference in a new issue