File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,16 @@ jobs:
105
105
- name : Tests
106
106
run : make test-unit && make test-functional
107
107
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
+
108
118
- name : DEBUG
109
119
if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
110
120
run : ls -ail build/coverage-*/
@@ -140,10 +150,6 @@ jobs:
140
150
if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
141
151
run : ls -ail build/coverage-*/
142
152
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
-
147
153
static-checks :
148
154
name : Static checks
149
155
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments