File tree Expand file tree Collapse file tree 7 files changed +250
-263
lines changed
Expand file tree Collapse file tree 7 files changed +250
-263
lines changed Original file line number Diff line number Diff line change 1+ name : PHPStan level 5
2+ on : push
3+ jobs :
4+ phpstan :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - uses : actions/cache@v3
9+ with :
10+ path : ' **/vendor'
11+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
12+ restore-keys : |
13+ ${{ runner.os }}-composer-
14+ - uses : php-actions/composer@v6
15+ with :
16+ args : --prefer-dist
17+ php_version : ' 8.2'
18+
19+ - name : PHPStan
20+ uses : php-actions/phpstan@v3
21+ with :
22+ path : src/
23+ level : 5
Original file line number Diff line number Diff line change 1+ name : PHPUnit
2+ on : push
3+ jobs :
4+ phpunit :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - uses : shivammathur/setup-php@v2
9+ with :
10+ php-version : ' 8.2'
11+ tools : composer:v2
12+ coverage : pcov
13+ - uses : actions/cache@v3
14+ with :
15+ path : ' **/vendor'
16+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
17+ restore-keys : |
18+ ${{ runner.os }}-composer-
19+ - uses : php-actions/composer@v6
20+ with :
21+ args : --prefer-dist
22+ php_version : ' 8.2'
23+
24+ - name : Run tests & generate Coverage
25+ run : bin/phpunit functional --coverage-html var/coverage
26+
27+ - name : Store coverage files
28+ uses : actions/upload-artifact@v3
29+ with :
30+ path : var/coverage
Original file line number Diff line number Diff line change 1- name : Quality (PHPStan lvl 5
1+ name : Quality (PHPStan lvl 4)
22on : push
33jobs :
44 cs-fixer :
1414 chmod a+x php-cs-fixer
1515 PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
1616
17- phpunit :
18- runs-on : ubuntu-latest
19- steps :
20- - uses : actions/checkout@v3
21- - uses : shivammathur/setup-php@v2
22- with :
23- php-version : ' 8.2'
24- tools : composer:v2
25- coverage : pcov
26- - uses : actions/cache@v3
27- with :
28- path : ' **/vendor'
29- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
30- restore-keys : |
31- ${{ runner.os }}-composer-
32- - uses : php-actions/composer@v6
33- with :
34- args : --prefer-dist
35- php_version : ' 8.2'
36-
37- - name : Run tests & generate Coverage
38- run : bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage
39-
40- - name : Store coverage files
41- uses : actions/upload-artifact@v3
42- with :
43- path : var/coverage
44-
4517 phpstan :
4618 runs-on : ubuntu-latest
4719 steps :
6133 uses : php-actions/phpstan@v3
6234 with :
6335 path : src/
64- level : 5
36+ level : 4
Original file line number Diff line number Diff line change 1+ Workflow Console Runtime
2+ ===
3+
4+ [ ![ Mutations] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/infection.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/infection.yaml )
5+ [ ![ PHPUnit] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpunit.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpunit.yaml )
6+ [ ![ Quality] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/quality.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/quality.yaml )
7+ [ ![ PHPStan level 5] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-5.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-5.yaml )
8+ [ ![ PHPStan level 6] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-6.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-6.yaml )
9+ [ ![ PHPStan level 7] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-7.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-7.yaml )
10+ [ ![ PHPStan level 8] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-8.yaml/badge.svg )] ( https://github.com/php-etl/workflow-console-runtime/actions/workflows/phpstan-8.yaml )
11+ ![ PHP] ( https://img.shields.io/packagist/php-v/php-etl/workflow-console-runtime )
Original file line number Diff line number Diff line change 1717 "prefer-stable" : true ,
1818 "require" : {
1919 "php" : " ^8.2" ,
20- "symfony/console" : " ^5.2" ,
20+ "symfony/console" : " ^5.2 || ^6.0 " ,
2121 "php-etl/pipeline-contracts" : " ^0.4@dev" ,
2222 "php-etl/pipeline" : " ^0.5@dev" ,
2323 "php-etl/console-state" : " ^0.2@dev" ,
You can’t perform that action at this time.
0 commit comments