File tree Expand file tree Collapse file tree 6 files changed +24
-21
lines changed
Expand file tree Collapse file tree 6 files changed +24
-21
lines changed Original file line number Diff line number Diff line change 1818
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v2
21+ uses : actions/checkout@v3
2222
2323 - name : Setup PHP
2424 uses : shivammathur/setup-php@v2
4848 vendor/bin/phpstan analyse -vvv
4949
5050 - name : PHPUnit
51- run : vendor/bin/phpunit --verbose
51+ run : vendor/bin/phpunit
5252
5353 - name : Upload coverage results to Coveralls
5454 env :
@@ -59,23 +59,23 @@ jobs:
5959 composer global require php-coveralls/php-coveralls
6060 php-coveralls --coverage_clover=build/logs/clover.xml -v
6161
62- tests-last :
62+ tests-latest :
6363 runs-on : ubuntu-22.04
6464 timeout-minutes : 10
6565
6666 strategy :
6767 fail-fast : true
6868
69- name : PHP 8.2 - Last
69+ name : PHP Latest
7070
7171 steps :
7272 - name : Checkout
73- uses : actions/checkout@v2
73+ uses : actions/checkout@v3
7474
7575 - name : Setup PHP
7676 uses : shivammathur/setup-php@v2
7777 with :
78- php-version : 8.2
78+ php-version : latest
7979 tools : composer
8080 coverage : xdebug
8181
8484 composer update
8585
8686 - name : PHPUnit
87- run : vendor/bin/phpunit --verbose
87+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 44raw-tests /
55vendor /
66.php-cs-fixer.cache
7+ .phpunit.cache
78.phpunit.result.cache
89composer.lock
910composer.phar
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ test:php:
3030 - build/docs/
3131 coverage : ' /^\s*Lines:\s*\d+.\d+\%/'
3232
33- test:php-last :
34- image : registry.gitlab.com/aplus-framework/images/base:3
33+ test:php-latest :
34+ image : registry.gitlab.com/aplus-framework/images/base:latest
3535 stage : test
3636 timeout : 10 minutes
3737 cache :
Original file line number Diff line number Diff line change 4545 "jetbrains/phpstorm-attributes" : " ^1.0" ,
4646 "phpmd/phpmd" : " ^2.13" ,
4747 "phpstan/phpstan" : " ^1.9" ,
48- "phpunit/phpunit" : " ^9 .5"
48+ "phpunit/phpunit" : " ^10 .5"
4949 },
5050 "minimum-stability" : " dev" ,
5151 "prefer-stable" : true ,
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ services:
77 volumes :
88 - .:/package
99 tty : true
10- package-last :
11- image : registry.gitlab.com/aplus-framework/images/package:3
12- container_name : package-validation-last
10+ package-latest :
11+ image : registry.gitlab.com/aplus-framework/images/package:latest
12+ container_name : package-validation-latest
1313 working_dir : /package
1414 volumes :
1515 - .:/package
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false"
3- bootstrap =" vendor/autoload.php" colors =" true" convertErrorsToExceptions =" true"
4- convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" stopOnError =" false"
5- stopOnFailure =" false" stopOnIncomplete =" false" stopOnSkipped =" false"
6- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
7- <coverage processUncoveredFiles =" true" >
8- <include >
9- <directory suffix =" .php" >src</directory >
10- </include >
3+ bootstrap =" vendor/autoload.php" colors =" true" stopOnError =" false" stopOnFailure =" false"
4+ stopOnIncomplete =" false" stopOnSkipped =" false"
5+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd"
6+ cacheDirectory =" .phpunit.cache" >
7+ <coverage >
118 <report >
129 <clover outputFile =" build/coverage/clover.xml" />
1310 <html outputDirectory =" build/coverage" />
1815 <directory suffix =" Test.php" >tests</directory >
1916 </testsuite >
2017 <logging />
18+ <source >
19+ <include >
20+ <directory suffix =" .php" >src</directory >
21+ </include >
22+ </source >
2123</phpunit >
You can’t perform that action at this time.
0 commit comments