Fixed github tests action issue with sqlite.

This commit is contained in:
Jan Böhmer 2022-07-23 22:43:56 +02:00
parent 50f1555dc0
commit 6f189e3bbc

View file

@ -98,12 +98,12 @@ jobs:
- name: Create DB - name: Create DB
run: php bin/console --env test doctrine:database:create --if-not-exists -n 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 # Checkinf for existance is not supported for sqlite, so do it without it
- name: Create DB - name: Create DB
run: php bin/console --env test doctrine:database:create -n run: php bin/console --env test doctrine:database:create -n
if: {{ matrix.db-type }} == 'sqlite' if: {matrix.db-type == 'sqlite'
- name: Do migrations - name: Do migrations
run: php bin/console --env test doctrine:migrations:migrate -n run: php bin/console --env test doctrine:migrations:migrate -n