Skip to content

Commit

Permalink
Enhancement: Use colors where possible (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Dec 13, 2022
1 parent fc63350 commit 6ffc936
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
- name: "Download dependencies"
run: |
composer update --no-interaction --no-progress --optimize-autoloader
composer update --ansi --no-interaction --no-progress --optimize-autoloader
- name: "Collect code coverage with PHPUnit"
run: |
vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml
vendor/bin/phpunit --colors=always --coverage-clover=.build/logs/clover.xml
- name: "Send code coverage report to codecov.io"
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coding-standards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- name: "Download dependencies"
run: |
composer update --no-interaction --no-progress --optimize-autoloader
composer bin php-cs-fixer install --no-interaction --no-progress --optimize-autoloader
composer update --ansi --no-interaction --no-progress --optimize-autoloader
composer bin php-cs-fixer install --ansi --no-interaction --no-progress --optimize-autoloader
- name: "Cache cache file for php-cs-fixer"
uses: "actions/cache@v3"
Expand All @@ -59,7 +59,7 @@ jobs:
- name: "Run php-cs-fixer"
run: |
vendor/bin/php-cs-fixer fix --diff --dry-run --verbose
vendor/bin/php-cs-fixer fix --ansi --diff --dry-run --verbose
yamllint:
name: "yamllint"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
- name: "Download dependencies"
run: |
composer update --no-interaction --no-progress --optimize-autoloader
composer bin rector install --no-interaction --no-progress --optimize-autoloader
composer update --ansi --no-interaction --no-progress --optimize-autoloader
composer bin rector install --ansi --no-interaction --no-progress --optimize-autoloader
- name: "Run rector"
run: "vendor/bin/rector process test/ --ansi --config=rector-migrate.php --dry-run || true"
10 changes: 5 additions & 5 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- name: "Download dependencies"
run: |
composer update --no-interaction --no-progress --optimize-autoloader
composer bin phpstan install --no-interaction --no-progress --optimize-autoloader
composer update --ansi --no-interaction --no-progress --optimize-autoloader
composer bin phpstan install --ansi --no-interaction --no-progress --optimize-autoloader
- name: "Run PHPStan"
run: |
vendor/bin/phpstan --no-progress
vendor/bin/phpstan --ansi --no-progress
psalm:
name: "Psalm"
Expand Down Expand Up @@ -83,8 +83,8 @@ jobs:
- name: "Download dependencies"
run: |
composer update --no-interaction --no-progress --optimize-autoloader
composer bin psalm install --no-interaction --no-progress --optimize-autoloader
composer update --ansi --no-interaction --no-progress --optimize-autoloader
composer bin psalm install --ansi --no-interaction --no-progress --optimize-autoloader
- name: "Run Psalm"
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
composer-
- name: "Download dependencies"
run: "composer update --no-interaction --no-progress --optimize-autoloader"
run: "composer update --ansi --no-interaction --no-progress --optimize-autoloader"

- name: "Run tests"
run: "./vendor/bin/phpunit"
run: "./vendor/bin/phpunit --colors=always"

0 comments on commit 6ffc936

Please sign in to comment.