File tree Expand file tree Collapse file tree 4 files changed +67
-7
lines changed
Expand file tree Collapse file tree 4 files changed +67
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Static Analysis
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ static :
9+ if : github.event_name != 'schedule' || github.repository == 'tapperphp/tapper'
10+ name : Static Analysis
11+
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : true
15+ matrix :
16+ dependency-version : [prefer-lowest, prefer-stable]
17+
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Setup PHP
23+ uses : shivammathur/setup-php@v2
24+ with :
25+ php-version : 8.3
26+ tools : composer:v2
27+ coverage : none
28+
29+ - name : Install Dependencies
30+ run : composer update --prefer-stable --no-interaction --no-progress --ansi
31+
32+ - name : Code Style
33+ run : composer test:lint
Original file line number Diff line number Diff line change 3737 " bin/tapper"
3838 ],
3939 "scripts" : {
40- "test:unit" : " pest"
40+ "test:unit" : " pest --compact" ,
41+ "test:lint" : " pint --test"
4142 }
4243}
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
4+ bootstrap =" vendor/autoload.php"
5+ cacheDirectory =" .phpunit.cache"
6+ executionOrder =" depends,defects"
7+ shortenArraysForExportThreshold =" 10"
8+ requireCoverageMetadata =" true"
9+ beStrictAboutCoverageMetadata =" true"
10+ beStrictAboutOutputDuringTests =" true"
11+ displayDetailsOnPhpunitDeprecations =" true"
12+ failOnPhpunitDeprecation =" true"
13+ failOnRisky =" true"
14+ failOnWarning =" true" >
15+ <testsuites >
16+ <testsuite name =" default" >
17+ <directory >tests</directory >
18+ </testsuite >
19+ </testsuites >
20+
21+ <source ignoreIndirectDeprecations =" true" restrictNotices =" true" restrictWarnings =" true" >
22+ <include >
23+ <directory >src</directory >
24+ </include >
25+ </source >
26+ </phpunit >
You can’t perform that action at this time.
0 commit comments