File tree 4 files changed +33
-35
lines changed
4 files changed +33
-35
lines changed Original file line number Diff line number Diff line change 1
1
name : Test
2
2
3
- on : [push, pull_request ]
3
+ on : [push]
4
4
5
5
jobs :
6
6
test :
34
34
run : (test -d vendor && echo vendor directory exists) || composer install --prefer-dist --no-progress --no-suggest
35
35
- name : Run PHPUnit
36
36
run : ./bin/phpunit --coverage-text --coverage-clover clover.xml
37
- - name : " [Code Coverage Report] Extract branch name "
37
+ - name : Upload Scrutinizer coverage
38
38
if : matrix.php-versions == '8.0'
39
- shell : bash
40
- run : echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
41
- id : extract_branch
42
- - name : " [Code Coverage Report] Checkout branch"
43
- if : matrix.php-versions == '8.0'
44
- shell : bash
45
- run : git fetch --depth 1 && git checkout ${{ steps.extract_branch.outputs.branch }}
46
- # - name: "[Code Coverage Report] Upload coverage"
47
- # if: matrix.php-versions == '8.0'
48
- # run: ./bin/ocular code-coverage:upload --format=php-clover clover.xml
49
- # - name: "[Coveralls] Send report"
50
- # if: matrix.php-versions == '8.0'
51
- # run: ./bin/php-coveralls -v -x clover.xml -o coveralls-upload.json
52
- # env:
53
- # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
39
+ uses : sudo-bot/action-scrutinizer@latest
40
+ with :
41
+ cli-args : " --format=php-clover clover.xml"
Original file line number Diff line number Diff line change
1
+ build :
2
+ nodes :
3
+ analysis :
4
+ project_setup :
5
+ override :
6
+ - ' true'
7
+ tests :
8
+ override :
9
+ - php-scrutinizer-run
10
+ -
11
+ command : phpcs-run
12
+ use_website_config : true
13
+ tests : true
14
+
15
+ checks :
16
+ php : true
17
+ coding_style :
18
+ php : { }
19
+
1
20
tools :
2
- php_sim : true
3
- php_pdepend : true
4
21
php_analyzer : true
5
- php_code_sniffer :
6
- config :
7
- standard : PSR2
8
22
php_changetracking : true
9
- php_cs_fixer :
10
- config : { level: psr2 }
11
- php_mess_detector : true
12
- sensiolabs_security_checker : true
13
23
external_code_coverage :
14
24
timeout : 600
25
+
15
26
filter :
16
27
excluded_paths :
17
- - ' spec/*'
18
28
- ' tests/*'
19
- - ' examples /*'
29
+ - ' vendor /*'
Original file line number Diff line number Diff line change 1
1
Patch Manager
2
2
=============
3
-
4
- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/matteosister/patch-manager/badges/quality-score.png?b=dev )] ( https://scrutinizer-ci.com/g/matteosister/patch-manager/?branch=dev )
5
- [ ![ Build Status] ( https://travis-ci.org/matteosister/patch-manager.svg?branch=dev )] ( https://travis-ci.org/matteosister/patch-manager )
6
- [ ![ SensioLabsInsight] ( https://insight.sensiolabs.com/projects/3c24052a-6051-4125-ad12-ad4e210de114/mini.png )] ( https://insight.sensiolabs.com/projects/3c24052a-6051-4125-ad12-ad4e210de114 )
3
+ [ ![ PHP Version] ( https://img.shields.io/packagist/php-v/cypresslab/patch-manager/dev-master )] ( https://packagist.org/packages/cypresslab/patch-manager )
4
+ [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/matteosister/patch-manager/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/matteosister/patch-manager/?branch=master )
5
+ [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/matteosister/patch-manager/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/matteosister/patch-manager/?branch=master )
6
+ [ ![ Build Status] ( https://img.shields.io/github/workflow/status/matteosister/patch-manager/Test )] ( https://github.com/matteosister/patch-manager/actions )
7
+ [ ![ Packagist Version] ( https://img.shields.io/packagist/v/cypresslab/patch-manager )] ( https://packagist.org/packages/cypresslab/patch-manager )
8
+ [ ![ Packagist Downloads] ( https://img.shields.io/packagist/dt/cypresslab/patch-manager )] ( https://packagist.org/packages/cypresslab/patch-manager )
7
9
8
10
A php library to manage PATCH requests in a standardized (and elegant) way
9
11
Original file line number Diff line number Diff line change 23
23
"phpspec/prophecy-phpunit" : " ^2.0" ,
24
24
"phpstan/phpstan" : " ^0.12.99" ,
25
25
"phpstan/phpstan-doctrine" : " ^0.12.44" ,
26
- "phpstan/phpstan-mockery" : " ^0.12.14" ,
27
- "php-coveralls/php-coveralls" : " ^2.4" ,
28
- "scrutinizer/ocular" : " ^1.8"
26
+ "phpstan/phpstan-mockery" : " ^0.12.14"
29
27
},
30
28
"autoload" : {
31
29
"psr-4" : {
You can’t perform that action at this time.
0 commit comments