Skip to content

Commit d93846a

Browse files
committed
GHA for validating database schema
Signed-off-by: MarioRadu <[email protected]>
1 parent 042e8cb commit d93846a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/validate-database-schema.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ jobs:
4646

4747
- name: Setup project
4848
run: |
49-
mv config/autoload/local.php.dist config/autoload/local.php
50-
mv config/autoload/mail.local.php.dist config/autoload/mail.local.php
51-
mv config/autoload/local.test.php.dist config/autoload/local.test.php
49+
apt-get install php${{ matrix.php }}-sqlite3
50+
cp config/autoload/local.php.dist config/autoload/local.php
51+
cp config/autoload/mail.local.php.dist config/autoload/mail.local.php
52+
cp config/autoload/local.test.php.dist config/autoload/local.test.php
5253
5354
- name: Validate database schema
5455
run: php bin/doctrine orm:validate-schema --skip-sync

0 commit comments

Comments
 (0)