Skip to content

Commit f2da9ec

Browse files
committed
Check coding style when running tests
1 parent 55878ae commit f2da9ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
fetch-depth: 0
3737
- name: Install Composer dependencies (including dev, preferring source)
3838
run: composer install --prefer-source --optimize-autoloader --ansi --no-interaction
39+
- name: Check coding style
40+
if: matrix.os == 'ubuntu-latest' && matrix.php-version == '7.2'
41+
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 .
3942
- name: Run Atoum
4043
run: php ./vendor/atoum/atoum/scripts/coverage.php --format xml --output clover.xml
4144
- name: Install Composer dependencies (excluding dev)

0 commit comments

Comments
 (0)