diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4348363..f572dab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,11 @@ jobs: - name: Start MySQL service run: sudo systemctl start mysql.service + - name: Create database + run: | + echo "CREATE DATABASE IF NOT EXISTS test" < setup.sql + sudo mysql -h 127.0.0.1 -uroot -proot < setup.sql + - name: Test env: TEST_DB_HOSTNAME: ${{ secrets.TEST_DB_HOSTNAME }}