File tree Expand file tree Collapse file tree 2 files changed +7
-38
lines changed Expand file tree Collapse file tree 2 files changed +7
-38
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: Coverage Report
33on :
44 push :
55 branches : [ development ]
6- pull_request :
7- branches : [ development ]
86
97jobs :
108 coverage :
2826 composer install --prefer-dist
2927
3028 - name : Execute tests with coverage
31- run : vendor/bin/phpunit --configuration 'phpunit.xml' --coverage-clover=coverage.xml --coverage-cobertura=coverage-cobertura.xml
32-
33- - if : ${{ github.event_name == 'pull_request' }}
34- name : Download artifact
35- uses : dawidd6/action-download-artifact@v3
36- continue-on-error : true
37- with :
38- workflow : .github/workflows/coverage-report.yml
39- branch : development
40- name : coverage-report
41- path : tests/base
42-
43- - if : ${{ github.event_name != 'pull_request' }}
44- uses : actions/upload-artifact@v2
45- with :
46- name : coverage-report
47- path : coverage.xml
48-
49- - if : ${{ github.event_name == 'pull_request' }}
50- name : Coverage Report as Comment (Clover)
51- uses : lucassabreu/comment-coverage-clover@main
52- with :
53- file : coverage.xml
54- base-file : test/base/coverage.xml
55-
56- - if : ${{ github.event_name != 'pull_request' }}
57- uses :
action-badges/[email protected] 58- with :
59- branch-name : badges
29+ run : vendor/bin/phpunit --configuration 'phpunit.xml' --coverage-cobertura=coverage-cobertura.xml
6030
61- - if : ${{ github.event_name != 'pull_request' }}
62- name : Make Coverage Badge
31+ - name : Make Coverage Badge
6332 uses :
action-badges/[email protected] 6433 with :
6534 file-name : coverage.svg
Original file line number Diff line number Diff line change 2323 "guzzlehttp/psr7" : " ^2.0"
2424 },
2525 "require-dev" : {
26- "phpstan/phpstan" : " ^1.10 " ,
27- "phpunit/phpunit" : " ^10.4 " ,
26+ "phpstan/phpstan" : " ^1.11 " ,
27+ "phpunit/phpunit" : " ^10.5 " ,
2828 "guzzlehttp/guzzle" : " ^7.8" ,
29- "friendsofphp/php-cs-fixer" : " ^3.41 " ,
30- "vimeo/psalm" : " ^5.18 " ,
31- "psalm/plugin-phpunit" : " ^0.18.4 "
29+ "friendsofphp/php-cs-fixer" : " ^3.57 " ,
30+ "vimeo/psalm" : " ^5.24 " ,
31+ "psalm/plugin-phpunit" : " ^0.19 "
3232 },
3333 "suggest" : {
3434 "guzzlehttp/guzzle" : " ^7.0" ,
You can’t perform that action at this time.
0 commit comments