Skip to content

Commit

Permalink
Run PHPUnit first than PHPStan on the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mescalantea committed Jul 10, 2024
1 parent a81c583 commit 5be1be3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: PHP_CodeSniffer
run: docker run --rm -v "$(pwd)":/app -w /app php:7.2-cli-alpine php vendor/bin/phpcs --standard=.phpcs.xml.dist --warning-severity=0 . # Ignore Warnings for now...

- name: PHPStan
run: docker run --rm -v "$(pwd)":/app -w /app php:7.2-cli-alpine php vendor/bin/phpstan analyse -c phpstan.neon --memory-limit=512M --error-format github --no-progress

- name: Run Tests
run: docker run --rm -v "$(pwd)":/app -w /app php:7.2-cli-alpine php vendor/bin/phpunit --configuration phpunit.xml --testdox

- name: PHPStan
run: docker run --rm -v "$(pwd)":/app -w /app php:7.2-cli-alpine php vendor/bin/phpstan analyse -c phpstan.neon --memory-limit=512M --error-format github --no-progress

0 comments on commit 5be1be3

Please sign in to comment.