File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : pipeline
2+ on : pull_request
3+
4+ jobs :
5+ tests :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Checkout
9+ uses : actions/checkout@v4
10+
11+ - name : Setup PHP
12+ uses : shivammathur/setup-php@v2
13+ with :
14+ php-version : 8.4
15+ coverage : none
16+
17+ - name : Install Composer
18+ uses : ramsey/composer-install@v3
19+
20+ - name : Composer Validation
21+ run : composer validate --strict
22+
23+ - name : Install PHP Dependencies
24+ run : composer install --no-scripts
25+
26+ - name : Lint PHP
27+ run : php -l src/**/*.php
28+
29+ - name : Lint Templates
30+ run : bin/console lint:twig templates
31+
32+ - name : Lint Config
33+ run : bin/console lint:yaml config
34+
35+ - name : Lint Container
36+ run : bin/console lint:container
37+
38+ - name : Code Style PHP
39+ run : PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run
40+
41+ - name : PHPStan
42+ run : vendor/bin/phpstan analyse
43+
44+ - name : Tests
45+ run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments