File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,16 @@ jobs:
105105 - name : Tests
106106 run : make test-unit && make test-functional
107107
108+ - name : DEBUG
109+ if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
110+ run : ls -ail build/coverage-*/
111+
112+ # Upload to codacy first as codecov action always remove coverage files
113+ # despite the disabled move_coverage_to_trash option
114+ - name : Upload coverages to Codacy
115+ if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
116+ run : ${{ env.CODACY_BIN }} report -r build/coverage-phpunit/unit.clover -r build/coverage-behat/clover.xml -r build/coverage-phpunit/functional.clover -t ${{ secrets.CODACY_PROJECT_TOKEN }} --partial
117+
108118 - name : DEBUG
109119 if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
110120 run : ls -ail build/coverage-*/
@@ -140,10 +150,6 @@ jobs:
140150 if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
141151 run : ls -ail build/coverage-*/
142152
143- - name : Upload coverages to Codacy
144- if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
145- run : ${{ env.CODACY_BIN }} report -r build/coverage-phpunit/unit.clover -r build/coverage-behat/clover.xml -r build/coverage-phpunit/functional.clover -t ${{ secrets.CODACY_PROJECT_TOKEN }} --partial
146-
147153 static-checks :
148154 name : Static checks
149155 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments