fix: try github actions MySQL

This commit is contained in:
Jean-Marie Renouard 2023-03-14 19:55:57 +00:00
parent f9084ac565
commit 856ef452f3

View file

@ -23,8 +23,11 @@ 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
@ -32,7 +35,7 @@ jobs:
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