File tree Expand file tree Collapse file tree 6 files changed +977
-69
lines changed Expand file tree Collapse file tree 6 files changed +977
-69
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : PHPSpec
2
+ on : push
3
+ phpspec :
4
+ runs-on : ubuntu-latest
5
+ steps :
6
+ - uses : actions/checkout@v2
7
+ - uses : php-actions/composer@v5
8
+ with :
9
+ args : --prefer-dist
10
+ php_version : 8.0
11
+ - name : PHP Spec
12
+ run : bin/phpspec run spec
Original file line number Diff line number Diff line change
1
+ name : Quality
2
+ on : push
3
+ jobs :
4
+ cs-fixer :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v2
8
+ - name : Cs-Fixer
9
+ run : |
10
+ wget -q https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
11
+ chmod a+x php-cs-fixer
12
+ PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
13
+
14
+ phpspec :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - uses : php-actions/composer@v5
19
+ with :
20
+ args : --prefer-dist
21
+ php_version : 8.0
22
+ - name : PHP Spec
23
+ run : bin/phpspec run spec
24
+
25
+ phpstan :
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@v2
29
+ - uses : actions/cache@v2
30
+ with :
31
+ path : ' **/vendor'
32
+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-composer-
35
+ - uses : php-actions/composer@v5
36
+ with :
37
+ args : --prefer-dist
38
+ php_version : 8.0
39
+
40
+ - name : PHPStan
41
+ uses : php-actions/phpstan@v2
42
+ with :
43
+ path : src/
44
+ args : --level=8
Original file line number Diff line number Diff line change 31
31
},
32
32
"require-dev" : {
33
33
"phpspec/phpspec" : " ^7.0" ,
34
- "friends-of-phpspec/phpspec-code-coverage" : " 6.x-dev"
34
+ "friends-of-phpspec/phpspec-code-coverage" : " 6.x-dev" ,
35
+ "phpunit/phpunit" : " ^9.0" ,
36
+ "johnkary/phpunit-speedtrap" : " *" ,
37
+ "mybuilder/phpunit-accelerator" : " *" ,
38
+ "phpunit/php-invoker" : " *"
35
39
},
36
40
"config" : {
37
41
"bin-dir" : " bin"
You can’t perform that action at this time.
0 commit comments