File tree Expand file tree Collapse file tree 7 files changed +284
-272
lines changed
Expand file tree Collapse file tree 7 files changed +284
-272
lines changed 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 1616 chmod a+x php-cs-fixer
1717 PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run -vvv
1818
19- phpunit :
20- runs-on : ubuntu-latest
21- steps :
22- - uses : actions/checkout@v3
23- - uses : shivammathur/setup-php@v2
24- with :
25- php-version : ' 8.2'
26- tools : composer:v2
27- coverage : pcov
28- - uses : actions/cache@v3
29- with :
30- path : ' **/vendor'
31- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
32- restore-keys : |
33- ${{ runner.os }}-composer-
34- - uses : php-actions/composer@v6
35- with :
36- args : --prefer-dist
37- php_version : ' 8.2'
38- php_extensions : zip
39-
40- - name : Run tests & generate Coverage
41- run : bin/phpunit --configuration=phpunit.xml tests --coverage-html var/coverage
42-
43- - name : Store coverage files
44- uses : actions/upload-artifact@v3
45- with :
46- path : var/coverage
47-
4819 phpstan :
4920 runs-on : ubuntu-latest
5021 steps :
Original file line number Diff line number Diff line change 1- # Spreadsheet Plugin
1+ Spreadsheet Plugin
2+ ===
3+
4+ [ ![ Mutations] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/infection.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/infection.yaml )
5+ [ ![ PHPUnit] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpunit.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpunit.yaml )
6+ [ ![ Quality] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/quality.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/quality.yaml )
7+ [ ![ PHPStan level 5] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-5.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-5.yaml )
8+ [ ![ PHPStan level 6] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-6.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-6.yaml )
9+ [ ![ PHPStan level 7] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-7.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-7.yaml )
10+ [ ![ PHPStan level 8] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-8.yaml/badge.svg )] ( https://github.com/php-etl/spreadsheet-plugin/actions/workflows/phpstan-8.yaml )
11+ ![ PHP] ( https://img.shields.io/packagist/php-v/php-etl/spreadsheet-plugin )
12+
213This package aims at integrating the Spreadsheet or the Opendocument reader and writer into the
314[ Pipeline] ( https://github.com/php-etl/pipeline ) stack.
415
Original file line number Diff line number Diff line change 1515 "php" : " ^8.2" ,
1616 "ext-json" : " *" ,
1717 "nikic/php-parser" : " ^4.10" ,
18- "symfony/config" : " ^5.2" ,
18+ "symfony/config" : " ^5.2 || ^6.0 " ,
1919 "php-etl/configurator-contracts" : " ^0.6@dev" ,
2020 "php-etl/satellite-toolbox" : " ^0.4@dev" ,
2121 "php-etl/packaging-contracts" : " ^0.2@dev"
You can’t perform that action at this time.
0 commit comments