Skip to content

Commit 9cafdce

Browse files
committed
CI: Start MySQL service and set up test database in PHP analysis workflow
1 parent a17af82 commit 9cafdce

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/php_analysis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,11 @@ jobs:
5656
id: psalm
5757
run: vendor/bin/psalm --show-info=false --output-format=github --shepherd
5858

59+
- name: Start MySQL service
60+
run: sudo /etc/init.d/mysql start
61+
62+
- name: Create test database
63+
run: php bin/console --env=test doctrine:database:create
64+
5965
- name: Doctrine Schema Validator
60-
run: php bin/console doctrine:schema:validate --skip-sync
66+
run: php bin/console --env=test doctrine:schema:validate --skip-sync

0 commit comments

Comments
 (0)