File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 33
33
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
34
34
35
35
- name : Cache dependencies
36
- uses : actions/cache@v1
36
+ uses : actions/cache@v2
37
37
with :
38
38
path : ${{ steps.composer-cache.outputs.dir }}
39
39
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -43,14 +43,28 @@ jobs:
43
43
run : composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
44
44
45
45
- name : Run Grumphp
46
- run : vendor/bin/grumphp run
46
+ run : vendor/bin/grumphp run --no-ansi -n
47
47
env :
48
48
STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
49
49
50
50
- name : Send PSALM data
51
51
run : vendor/bin/psalm --shepherd --stats
52
52
continue-on-error : true
53
53
54
- - name : Scrutinizer
55
- run : vendor/bin/ocular code-coverage:upload --format=php-clover build/logs/clover.xml
54
+ - name : Send Scrutinizer data
55
+ run : |
56
+ wget https://scrutinizer-ci.com/ocular.phar
57
+ php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
58
+ continue-on-error : true
59
+
60
+ - name : Infection score report
61
+ run : |
62
+ vendor/bin/infection run -j 2
63
+ continue-on-error : true
64
+
65
+ - name : PHP Insights report
66
+ run : |
67
+ rm -rf composer.lock vendor
68
+ composer require nunomaduro/phpinsights --dev
69
+ vendor/bin/phpinsights analyse src/ -n
56
70
continue-on-error : true
You can’t perform that action at this time.
0 commit comments