From 6f189e3bbcf54256adb689cb8965f0e7564e3f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 23 Jul 2022 22:43:56 +0200 Subject: [PATCH] Fixed github tests action issue with sqlite. --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cfccc490..85f99019 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -98,12 +98,12 @@ jobs: - name: Create DB run: php bin/console --env test doctrine:database:create --if-not-exists -n - if: {{ matrix.db-type }} == 'mysql' + if: matrix.db-type == 'mysql' # Checkinf for existance is not supported for sqlite, so do it without it - name: Create DB run: php bin/console --env test doctrine:database:create -n - if: {{ matrix.db-type }} == 'sqlite' + if: {matrix.db-type == 'sqlite' - name: Do migrations run: php bin/console --env test doctrine:migrations:migrate -n