mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
Update composer.yml
This commit is contained in:
parent
bef0d67e6c
commit
592c68ae8e
11
.github/workflows/composer.yml
vendored
11
.github/workflows/composer.yml
vendored
|
@ -22,7 +22,16 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: composer install --prefer-dist --no-progress --no-suggest
|
||||
|
||||
- name: Composer test
|
||||
- name: Run Composer test
|
||||
run: composer test
|
||||
|
||||
- name: Attempt to auto fix the issues
|
||||
if: failure()
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue