Skip to content

Commit

Permalink
ci: prepare to use castor
Browse files Browse the repository at this point in the history
  • Loading branch information
COil committed Jul 23, 2023
1 parent 3e75599 commit 2d6832e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/symfony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
php-version: '8.1'
coverage: xdebug
#tools: castor
- uses: actions/checkout@v3
- name: Get Composer Cache Directory
id: composer-cache
Expand All @@ -39,6 +40,7 @@ jobs:
# Tests
- name: Execute tests via PHPUnit
run: vendor/bin/simple-phpunit
#run: castor test:all

# Code coverage
- name: Generate the code coverage report and show the current global coverage
Expand All @@ -55,6 +57,7 @@ jobs:
with:
php-version: '8.1'
tools: cs2pr
#tools: cs2pr, castor
- uses: actions/checkout@v3
- name: Get Composer Cache Directory
id: composer-cache
Expand All @@ -72,15 +75,19 @@ jobs:
# native Symfony lints
- name: Lint the DI container
run: bin/console lint:container
#run: castor lint:container
- name: Lint Twig templates
run: bin/console lint:twig
#run: castor lint:twig
- name: Lint Yaml files
run: bin/console lint:yaml config/
#run: castor lint:yaml

# vendors
- name: php-cs-fixer
run: vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run --format=checkstyle | cs2pr
- name: PHPStan
#castor cs:stan
run: |
bin/console about --env=dev
vendor/bin/phpstan analyse -c phpstan.neon --memory-limit 1G -vvv

0 comments on commit 2d6832e

Please sign in to comment.