From be97ea08a2d4f56bb994e3d4adb07fd97155f5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 10 Jun 2024 23:35:13 +0200 Subject: [PATCH] Specify a version number on the MySQL database URL, so that doctrine does not need to start a connection while cache clearing --- .github/workflows/tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c751f631..c963371a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,7 +31,7 @@ jobs: steps: - name: Set Database env for MySQL - run: echo "DATABASE_URL=mysql://root:root@127.0.0.1:3306/partdb" >> $GITHUB_ENV + run: echo "DATABASE_URL=mysql://root:root@127.0.0.1:3306/partdb?serverVersion=8.0" >> $GITHUB_ENV if: matrix.db-type == 'mysql' - name: Set Database env for SQLite @@ -154,9 +154,5 @@ jobs: env: DATABASE_URL: mysql://root:root@localhost:3306/legacy_db - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - if: ${{ failure() }} -