feat: adding new data and mysqltuner.pl calls
This commit is contained in:
parent
afac793d7e
commit
3b3fa00b76
1 changed files with 20 additions and 6 deletions
26
.github/workflows/exec.yml
vendored
26
.github/workflows/exec.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue