Update composer.yml

This commit is contained in:
alistair3149 2019-12-30 18:22:10 -05:00 committed by GitHub
parent d932e1bb25
commit da3a7573dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,9 +30,11 @@ jobs:
run: composer fix
# Use failure() because phpcbf always return a failure
- name: Re-test if the issues are resolved
- name: Re-run the auto fix and verify if the issues are resolved
if: failure()
run: composer test
run: |
composer fix
composer test
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md