Skip to content

Commit

Permalink
ci: add colors
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Aug 7, 2023
1 parent 9d7ca09 commit a37a540
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:

- name: 🧪 Execute phpunit and pest tests
run: composer test:cc
env:
XDEBUG_MODE: "coverage"

- name: 🔍 Run static analysis using phpstan
run: composer stan:ci
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"scripts": {
"cs:fix": "php vendor/bin/php-cs-fixer fix -v",
"cs:diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
"test": "XDEBUG_MODE=coverage php vendor/bin/pest",
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage",
"test": "php vendor/bin/pest --colors=always",
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --colors=always --coverage-clover coverage.xml",
"stan": "php vendor/bin/phpstan analyse --memory-limit=2G",
"stan:ci": "php vendor/bin/phpstan analyse --memory-limit=2G --error-format=github"
},
Expand Down

0 comments on commit a37a540

Please sign in to comment.