File tree 6 files changed +22
-19
lines changed
6 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 48
48
vendor/bin/phpstan analyse -vvv
49
49
50
50
- name : PHPUnit
51
- run : vendor/bin/phpunit --verbose
51
+ run : vendor/bin/phpunit
52
52
53
53
- name : Upload coverage results to Coveralls
54
54
env :
@@ -59,14 +59,14 @@ jobs:
59
59
composer global require php-coveralls/php-coveralls
60
60
php-coveralls --coverage_clover=build/logs/clover.xml -v
61
61
62
- tests-last :
62
+ tests-latest :
63
63
runs-on : ubuntu-22.04
64
64
timeout-minutes : 10
65
65
66
66
strategy :
67
67
fail-fast : true
68
68
69
- name : PHP 8.2 - Last
69
+ name : PHP Latest
70
70
71
71
steps :
72
72
- name : Checkout
75
75
- name : Setup PHP
76
76
uses : shivammathur/setup-php@v2
77
77
with :
78
- php-version : 8.2
78
+ php-version : latest
79
79
tools : composer
80
80
coverage : xdebug
81
81
84
84
composer update
85
85
86
86
- name : PHPUnit
87
- run : vendor/bin/phpunit --verbose
87
+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 4
4
raw-tests /
5
5
vendor /
6
6
.php-cs-fixer.cache
7
+ .phpunit.cache
7
8
.phpunit.result.cache
8
9
composer.lock
9
10
composer.phar
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ test:php:
30
30
- build/docs/
31
31
coverage : ' /^\s*Lines:\s*\d+.\d+\%/'
32
32
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
35
35
stage : test
36
36
timeout : 10 minutes
37
37
cache :
Original file line number Diff line number Diff line change 45
45
"jetbrains/phpstorm-attributes" : " ^1.0" ,
46
46
"phpmd/phpmd" : " ^2.13" ,
47
47
"phpstan/phpstan" : " ^1.9" ,
48
- "phpunit/phpunit" : " ^9 .5"
48
+ "phpunit/phpunit" : " ^10 .5"
49
49
},
50
50
"minimum-stability" : " dev" ,
51
51
"prefer-stable" : true ,
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ services:
7
7
volumes :
8
8
- .:/package
9
9
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
13
13
working_dir : /package
14
14
volumes :
15
15
- .:/package
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<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 >
11
8
<report >
12
9
<clover outputFile =" build/coverage/clover.xml" />
13
10
<html outputDirectory =" build/coverage" />
18
15
<directory suffix =" Test.php" >tests</directory >
19
16
</testsuite >
20
17
<logging />
18
+ <source >
19
+ <include >
20
+ <directory suffix =" .php" >src</directory >
21
+ </include >
22
+ </source >
21
23
</phpunit >
You can’t perform that action at this time.
0 commit comments