File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -248,3 +248,16 @@ jobs:
248248
249249 - name : " Test - Examples"
250250 run : " composer test:examples"
251+
252+ - name : Upload test results to Codecov.io
253+ if : ${{ !cancelled() }}
254+ uses : codecov/test-results-action@v1
255+ with :
256+ token : ${{ secrets.CODECOV_TOKEN }}
257+ files : ./var/phpunit/logs/junit.xml
258+
259+ - name : Upload code coverage data to Codecov.io
260+ uses : codecov/codecov-action@v4
261+ with :
262+ token : ${{ secrets.CODECOV_TOKEN }}
263+ files : ./var/phpunit/coverage/coverage.xml
Original file line number Diff line number Diff line change 44 xsi : noNamespaceSchemaLocation =" tools/phpunit/vendor/phpunit/phpunit/phpunit.xsd"
55 bootstrap =" vendor/autoload.php"
66 colors =" true"
7- cacheResultFile =" ./var/phpunit/phpunit.cache"
7+ cacheResultFile =" ./var/phpunit/cache/ phpunit.cache"
88 displayDetailsOnTestsThatTriggerWarnings =" true"
99 displayDetailsOnTestsThatTriggerErrors =" true"
1010>
11- <coverage cacheDirectory =" ./var/phpunit/" >
11+ <coverage cacheDirectory =" ./var/phpunit/cache " >
1212 <report >
13- <html outputDirectory =" var/phpunit/coverage/html" lowUpperBound =" 75" highLowerBound =" 95" />
13+ <html outputDirectory =" ./var/phpunit/coverage/html" lowUpperBound =" 75" highLowerBound =" 95" />
14+ <clover outputFile =" ./var/phpunit/coverage/coverage.xml" />
1415 </report >
1516 </coverage >
17+ <logging >
18+ <junit outputFile =" ./var/phpunit/logs/junit.xml" />
19+ </logging >
1620 <php >
1721 <env name =" AZURITE_HOST" value =" localhost" />
1822 <env name =" AZURITE_BLOB_PORT" value =" 10000" />
You can’t perform that action at this time.
0 commit comments