test: mysql command
This commit is contained in:
parent
fe300aae1b
commit
2223372468
1 changed files with 7 additions and 2 deletions
9
.github/workflows/exec.yml
vendored
9
.github/workflows/exec.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: CI
|
||||
name: CI for MySQL Tuner
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
|
@ -34,10 +34,15 @@ jobs:
|
|||
- name: Cloning test_db dataset
|
||||
run: |
|
||||
git clone https://github.com/datacharmer/test_db.git
|
||||
|
||||
- name: Injecting test_db dataset
|
||||
run: |
|
||||
cd test_db
|
||||
netstat -ltpn
|
||||
sudo mysql -e 'select version();'
|
||||
mysql -h 127.0.0.1 -P3306 -uroot -proot test< ./employees.sql
|
||||
cd -
|
||||
rm -rf test_db
|
||||
rm -rf test_db
|
||||
# Runs a single command using the runners shell
|
||||
- name: Run help mode
|
||||
run: perl ./mysqltuner.pl --help
|
||||
|
|
Loading…
Reference in a new issue