mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
Update composer.yml
This commit is contained in:
parent
e097f8133b
commit
d932e1bb25
11
.github/workflows/composer.yml
vendored
11
.github/workflows/composer.yml
vendored
|
@ -25,11 +25,14 @@ jobs:
|
|||
- name: Run Composer test
|
||||
run: composer test
|
||||
|
||||
- name: Attempt to auto fix the issue and recheck
|
||||
- name: Attempt to auto fix the issues
|
||||
if: failure()
|
||||
run: |
|
||||
composer fix
|
||||
composer test
|
||||
run: composer fix
|
||||
|
||||
# Use failure() because phpcbf always return a failure
|
||||
- name: Re-test if the issues are resolved
|
||||
if: failure()
|
||||
run: composer test
|
||||
|
||||
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
|
||||
# Docs: https://getcomposer.org/doc/articles/scripts.md
|
||||
|
|
Loading…
Reference in a new issue