Skip to content

Commit

Permalink
Split and validate test database schema creation steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neluxx committed Jan 27, 2025
1 parent ce4271e commit b65d54d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/qa-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,24 @@ jobs:
- name: Install Composer Dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction

# Step 4: Create the test database schema and validates it
# Step 4: Create the test database schema
- name: Prepare Test Database
run: |
php bin/console doctrine:schema:create --env=test --no-interaction
# Step 5: Validate the test database schema
- name: Validate Test Database
run: |
php bin/console doctrine:schema:validate --env=test --no-interaction
# Step 5: Run PHP-CS-Fixer
# Step 6: Run PHP-CS-Fixer
- name: Run PHP-CS-Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff

# Step 6: Run PHPStan
# Step 7: Run PHPStan
- name: Run PHPStan
run: vendor/bin/phpstan analyse

# Step 7: Run PHPUnit
# Step 8: Run PHPUnit
- name: Run Test Suite
run: vendor/bin/phpunit
run: vendor/bin/phpunit

0 comments on commit b65d54d

Please sign in to comment.