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 @@ -109,6 +109,16 @@ jobs:
109
109
if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
110
110
run : ls -ail build/coverage-*/
111
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
+
118
+ - name : DEBUG
119
+ if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
120
+ run : ls -ail build/coverage-*/
121
+
112
122
# See the reports at https://codecov.io/gh/yoanm/symfony-jsonrpc-http-server
113
123
- name : Upload unit tests coverage to codecov
114
124
if : ${{ env.COVERAGE_TYPE == 'xdebug' }}
@@ -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