Skip to content

Commit

Permalink
fix ansi escape sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 authored and cedric-anne committed Jan 8, 2024
1 parent 0cb7959 commit 0ca3adc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,23 @@ jobs:
echo -e "\033[0;33mExecuting PHP Parallel Lint...\033[0m"
vendor/bin/parallel-lint --colors --exclude ./lib/ --exclude ./node_modules/ --exclude ./vendor/ --no-progress .
else
echo -e "\033[PHP Parallel Lint execution skipped.\033[0m"
echo -e "\033[0;33mPHP Parallel Lint execution skipped.\033[0m"
fi
- name: "PHP CodeSniffer"
run: |
if [[ -f "vendor/bin/phpcs" && -f ".phpcs.xml" ]]; then
echo -e "\033[0;33mExecuting PHP CodeSniffer...\033[0m"
vendor/bin/phpcs
else
echo -e "\033[PHP CodeSniffer execution skipped.\033[0m"
echo -e "\033[0;33mPHP CodeSniffer execution skipped.\033[0m"
fi
- name: "PHPStan"
run: |
if [[ -f "vendor/bin/phpstan" && -f "phpstan.neon" ]]; then
echo -e "\033[0;33mExecuting PHPStan...\033[0m"
vendor/bin/phpstan analyze --ansi --memory-limit=2G --no-interaction --no-progress
else
echo -e "\033[PHPStan execution skipped.\033[0m"
echo -e "\033[0;33mPHPStan execution skipped.\033[0m"
fi
- name: "JS Lint"
run: |
Expand Down Expand Up @@ -125,5 +125,5 @@ jobs:
echo -e "\033[0;33mExecuting PHPUnit...\033[0m"
php vendor/bin/phpunit --colors=always
else
echo -e "\033[PHPUnit execution skipped.\033[0m"
echo -e "\033[0;33mPHPUnit execution skipped.\033[0m"
fi

0 comments on commit 0ca3adc

Please sign in to comment.