From c0307ff8a69d4ee5085af07837b09651b1bd627d Mon Sep 17 00:00:00 2001 From: Alexandre Quercia Date: Sat, 13 Apr 2024 18:21:37 +0200 Subject: [PATCH] fixup! fix: Database Migration does set current version in DB #98 --- .github/workflows/continuous-integration.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 26b4f3b23..0904617d2 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -36,6 +36,15 @@ jobs: - "8.2" - "8.3" + services: + mysql: + image: mysql:5.5.62 + env: + MYSQL_DATABASE: test + MYSQL_ROOT_PASSWORD: testrootpass + ports: + - 3306:3306 + steps: - name: Checkout uses: actions/checkout@v3 @@ -62,4 +71,6 @@ jobs: run: composer install --prefer-dist - name: Run Tests + env: + MYSQL_DSN: 'mysql:host=127.0.0.1;dbname=test;user=root;pass=testrootpass' run: cd tests && php run.php