Skip to content

Commit

Permalink
Fixing MySQL issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico-PizarroBejarano committed May 14, 2024
1 parent b663659 commit dcaf9f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
pre-commit install
pre-commit autoupdate
pre-commit run --all
- name: Unit tests
- name: Setup MySQL Server
run: |
sudo apt-get install mysql-server
sudo systemctl start mysql
sudo mysql
CREATE USER optuna@"%";
CREATE DATABASE ppo_hpo;
Expand All @@ -39,6 +39,7 @@ jobs:
GRANT ALL ON sac_hpo.* TO optuna@"%";
GRANT ALL ON gp_mpc_hpo.* TO optuna@"%";
exit
- name: Unit tests
run: |
python -m pytest tests/
rm -rf tmp/

0 comments on commit dcaf9f2

Please sign in to comment.