From bd031d8980bc59a1418e30968cc88bb7aec2a9ce Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 26 May 2023 12:46:03 +0200 Subject: [PATCH] create database manually --- .github/workflows/cypress.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 3f8e3902..86834971 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -24,8 +24,13 @@ jobs: run: | sudo /etc/init.d/mysql start + - name: 📌 Initialize database + run: | + mysql -e 'CREATE DATABASE ${{ env.MYSQL_DATABASE }};' -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }} + - name: Verify unittest_second DB exists run: mysql --host 127.0.0.1 --port 3306 -uroot -proot -e "SHOW DATABASES" + - name: Checkout MyAAC uses: actions/checkout@v3 with: