Skip to content

Commit

Permalink
Check coding style when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Jan 24, 2021
1 parent f8c154f commit f1ac519
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
fetch-depth: 0
- name: Install Composer dependencies (including dev, preferring source)
run: composer install --prefer-source --optimize-autoloader --ansi --no-interaction
- name: Check coding style
if: matrix.os == 'ubuntu-latest' && matrix.php-version == '7.2'
run: ./vendor/bin/php-cs-fixer fix --path-mode=intersection --config=./.php_cs.dist --dry-run --using-cache=no --diff --diff-format=udiff --ansi --no-interaction .
- name: Run Atoum
run: php ./vendor/atoum/atoum/scripts/coverage.php --format xml --output clover.xml
- name: Install Composer dependencies (excluding dev)
Expand Down

0 comments on commit f1ac519

Please sign in to comment.