We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be0b88e commit 739f943Copy full SHA for 739f943
1 file changed
.github/workflows/ci.yml
@@ -58,6 +58,14 @@ jobs:
58
run: composer validate --no-check-all --no-check-lock --strict;
59
- name: Linting all php files
60
run: find src/ tests/ public/ -name ''*.php'' -print0 | xargs -0 -n 1 -P 4 php -l; php -l bin/*;
61
+ - name: Validate Doctrine schema
62
+ run: |
63
+ export PHPLIST_DATABASE_NAME=${{ env.DB_DATABASE }}
64
+ export PHPLIST_DATABASE_USER=${{ env.DB_USERNAME }}
65
+ export PHPLIST_DATABASE_PASSWORD=${{ env.DB_PASSWORD }}
66
+ export PHPLIST_DATABASE_PORT=${{ job.services.mysql.ports['3306'] }}
67
+ export PHPLIST_DATABASE_HOST=127.0.0.1
68
+ php bin/console doctrine:schema:validate
69
- name: Run units tests with phpunit
70
run: vendor/bin/phpunit tests/Unit/ --testdox
71
- name: Run integration tests with phpunit
0 commit comments