File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ jobs:
123123
124124 - name : Run the unit tests with code coverage (PHPUnit < 10)
125125 if : ${{ matrix.coverage == true && ! startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}
126- run : composer coverage -- --coverage-clover clover.xml
126+ run : composer coverage
127127
128128 - name : Run the unit tests with code coverage (PHPUnit 10+)
129129 if : ${{ matrix.coverage == true && startsWith( steps.phpunit_version.outputs.VERSION, '10.' ) }}
130- run : composer coverage10 -- --coverage-clover clover.xml
130+ run : composer coverage10
131131
132132 - name : Stop proxy server
133133 continue-on-error : true
@@ -144,6 +144,6 @@ jobs:
144144 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
145145 with :
146146 token : " ${{ secrets.CODECOV_TOKEN }}"
147- files : ./clover.xml
147+ files : ./tests/coverage/ clover.xml
148148 fail_ci_if_error : true
149149 verbose : true
Original file line number Diff line number Diff line change 1717
1818 <logging >
1919 <log type =" coverage-html" target =" tests/coverage" lowUpperBound =" 35" highLowerBound =" 90" />
20+ <log type =" coverage-clover" target =" tests/coverage/clover.xml" />
2021 </logging >
2122
2223 <filter >
Original file line number Diff line number Diff line change 3131 <coverage includeUncoveredFiles =" true" ignoreDeprecatedCodeUnits =" true" >
3232 <report >
3333 <html outputDirectory =" tests/coverage" lowUpperBound =" 35" highLowerBound =" 90" />
34+ <clover outputFile =" tests/coverage/clover.xml" />
3435 </report >
3536 </coverage >
3637</phpunit >
You can’t perform that action at this time.
0 commit comments