mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed github tests action issue with sqlite.
This commit is contained in:
parent
50f1555dc0
commit
6f189e3bbc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue