File tree Expand file tree Collapse file tree 8 files changed +24
-33
lines changed
Expand file tree Collapse file tree 8 files changed +24
-33
lines changed Original file line number Diff line number Diff line change 2121 args : --prefer-dist
2222 php_version : ' 8.2'
2323 php_extensions : zip
24-
2524 - name : Infection
2625 run : |
2726 wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar
Original file line number Diff line number Diff line change 1616 args : --prefer-dist
1717 php_version : ' 8.2'
1818 php_extensions : zip
19-
2019 - name : PHPStan
2120 uses : php-actions/phpstan@v3
2221 with :
Original file line number Diff line number Diff line change 1616 args : --prefer-dist
1717 php_version : ' 8.2'
1818 php_extensions : zip
19-
2019 - name : PHPStan
2120 uses : php-actions/phpstan@v3
2221 with :
Original file line number Diff line number Diff line change 1616 args : --prefer-dist
1717 php_version : ' 8.2'
1818 php_extensions : zip
19-
2019 - name : PHPStan
2120 uses : php-actions/phpstan@v3
2221 with :
Original file line number Diff line number Diff line change 1616 args : --prefer-dist
1717 php_version : ' 8.2'
1818 php_extensions : zip
19-
2019 - name : PHPStan
2120 uses : php-actions/phpstan@v3
2221 with :
Original file line number Diff line number Diff line change 44 phpunit :
55 runs-on : ubuntu-latest
66 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
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+ extensions : zip, xdebug
14+ - uses : actions/cache@v3
15+ with :
16+ path : ' **/vendor '
17+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
18+ restore-keys : |
19+ ${{ runner.os }}- composer-
20+ - uses : php-actions/composer@v6
21+ with :
22+ args : --prefer-dist
23+ php_version : ' 8.2 '
24+ php_extensions : zip xdebug
25+ - name : Run tests & generate Coverage
26+ run : bin/phpunit --coverage-html var/coverage
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 1515 wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer
1616 chmod a+x php-cs-fixer
1717 PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run -vvv
18-
1918 phpstan :
2019 runs-on : ubuntu-latest
2120 steps :
Original file line number Diff line number Diff line change 1212 -
1313 if : github.event.pull_request.head.repo.full_name == github.repository
1414 uses : actions/checkout@v3
15- with :
16- # Must be used to trigger workflow after push
17- token : ${{ secrets.ACCESS_TOKEN }}
1815
1916 -
2017 uses : shivammathur/setup-php@v2
You can’t perform that action at this time.
0 commit comments