File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 59
59
storage : array
60
60
61
61
- php-version : ' 7.4'
62
+ coverage : ' --coverage-clover=coverage.clover'
62
63
storage : doctrine
63
64
- php-version : ' 7.4'
64
65
storage : array
@@ -87,16 +88,16 @@ jobs:
87
88
composer-options : --prefer-dist --no-suggest
88
89
89
90
- name : Doctrine
90
- if : " ${{ matrix.coverage }} == 'doctrine'"
91
+ if : matrix.storage == 'doctrine'
91
92
run : |
92
93
tests/app/console doctrine:database:create
93
94
tests/app/console doctrine:schema:create
94
95
95
96
- name : Execute test
96
- run : vendor/bin/simple-phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
97
+ run : vendor/bin/simple-phpunit -c phpunit.xml.dist ${{ matrix.matrix.coverage }}
97
98
98
99
- name : Coverage
99
- if : ${{ matrix.coverage }}
100
+ if : matrix.coverage
100
101
run : |
101
102
wget https://scrutinizer-ci.com/ocular.phar
102
103
php ocular.phar code-coverage:upload --access-token="230ec5e01daf5bb3e46ea304fb20348b52d80de73463ec08ee9c96fcd1349e35" --format=php-clover coverage.clover
Original file line number Diff line number Diff line change 39
39
"Task\\ TaskBundle\\ Tests\\ " : " tests"
40
40
}
41
41
},
42
- "minimum-stability" : " dev" ,
43
42
"extra" : {
44
43
"branch-alias" : {
45
44
"dev-master" : " 2.x-dev"
You can’t perform that action at this time.
0 commit comments