fix: cwd is incorrect - adding debug info 2

This commit is contained in:
Jean-Marie RENOUARD 2023-03-22 16:10:49 +01:00
parent 26bbb196a8
commit 30982454d9
2 changed files with 1 additions and 19 deletions

View file

@ -55,5 +55,5 @@ jobs:
git config --global user.name "Jean-Marie Renouard"
git config --global user.email "jmrenouard@gmail.com"
git add .
git commit -m "Commit example result for Actions"
git commit -m "Commit example result for employees database for Actions"
git push

View file

@ -31,25 +31,7 @@ jobs:
with:
mysql root password: "root"
mysql version: "8.0"
- name: Injecting credentials
run: |
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
- name: Cloning test_db dataset
run: |
git clone https://github.com/datacharmer/test_db.git
- name: Injecting test_db dataset
run: |
sleep 5s
cd test_db
netstat -ltpn
mysql -e 'select version();'
mysql -e 'CREATE DATABASE data;'
mysql data< ./employees.sql
cd -
rm -rf test_db
# Runs a single command using the runners shell
- name: Run help mode
run: perl ./mysqltuner.pl --help