Skip to content

Commit

Permalink
Can we create the database from the command line?
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Sep 29, 2024
1 parent d763336 commit 2caa50e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Start MySQL service
run: sudo systemctl start mysql.service

- name: Create database
run: sudo mysql -h 127.0.0.1 -uroot -proot < "CREATE DATABASE IF NOT EXISTS test;"

- name: Test
env:
TEST_DB_HOSTNAME: ${{ secrets.TEST_DB_HOSTNAME }}
Expand Down

0 comments on commit 2caa50e

Please sign in to comment.