feat: adding new data and mysqltuner.pl calls

This commit is contained in:
Jean-Marie Renouard 2023-03-14 19:12:47 +00:00
parent afac793d7e
commit 3b3fa00b76

View file

@ -28,12 +28,26 @@ jobs:
- name: Install MySQL
run: sudo apt update && sudo apt install -y mysql-server-8.0 mysql-client-8.0
# Runs a single command using the runners shell
- name: Run a one-line script
run: perl ./mysqltuner.pl --help
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
sudo service start mysql
sudo service status mysql
git clone https://github.com/datacharmer/test_db.git
cd test_db
sudo mysql -u root < employees.sql
cd -
rm -rf test_db
# Runs a single command using the runners shell
- name: Run help mode
run: perl ./mysqltuner.pl --help
# Runs a single command using the runners shell
- name: Run verbose mode
run: sudo perl ./mysqltuner.pl --verbose
# Runs a single command using the runners shell
- name: Run verbose mode with dumpdir result
run: sudo perl ./mysqltuner.pl --verbose --dumpdir=result