94
94
~/.composer
95
95
./vendor
96
96
${{ env.CODACY_REPORTER_TMP_FOLDER }}
97
+ build/behat-code-coverage-cache
97
98
# Clear the cache if composer json (as composer.lock is in the repo) has been updated
98
99
key : ${{ env.CACHE_VERSION }}-tests-${{ matrix.php-version }}-${{ matrix.symfony-version }}-${{ hashFiles('composer.json') }}
99
100
@@ -138,8 +139,8 @@ jobs:
138
139
- name : DEBUG
139
140
run : ls -ail ${{ env.CODACY_REPORTER_TMP_FOLDER }} ${{ env.CODACY_REPORTER_TMP_FOLDER }}/*
140
141
141
- - name : Upload coverages to Codacy
142
- run : ${{ env.CODACY_REPORTER_TMP_FOLDER }}/codacy.sh 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
142
+ # - name: Upload coverages to Codacy
143
+ # run: ${{ env.CODACY_REPORTER_TMP_FOLDER }}/codacy.sh 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
143
144
144
145
finalize-codacy-coverage-report :
145
146
runs-on : ubuntu-latest
@@ -162,8 +163,8 @@ jobs:
162
163
&& chmod +x ${{ env.CODACY_REPORTER_TMP_FOLDER }}/codacy.sh \
163
164
&& ${{ env.CODACY_REPORTER_TMP_FOLDER }}/codacy.sh download
164
165
165
- - name : Finalize reporting
166
- run : ${{ env.CODACY_REPORTER_TMP_FOLDER }}/codacy.sh final -t ${{ secrets.CODACY_PROJECT_TOKEN }}
166
+ # - name: Finalize reporting
167
+ # run: ${{ env.CODACY_REPORTER_TMP_FOLDER }}/codacy.sh final -t ${{ secrets.CODACY_PROJECT_TOKEN }}
167
168
168
169
nightly-tests :
169
170
name : Nightly - PHP ${{ matrix.php-version }} / Symfony ${{ matrix.symfony-version }}
@@ -202,6 +203,7 @@ jobs:
202
203
~/.composer
203
204
./vendor
204
205
${{ env.CODACY_REPORTER_TMP_FOLDER }}
206
+ build/behat-code-coverage-cache
205
207
# Clear the cache if composer json (as composer.lock is in the repo) has been updated
206
208
key : ${{ env.CACHE_VERSION }}-tests-${{ matrix.php-version }}-${{ matrix.symfony-version }}-${{ hashFiles('composer.json') }}
207
209
@@ -227,6 +229,7 @@ jobs:
227
229
name : " unit-tests-${{ matrix.php-version }}-${{ matrix.symfony-version }}"
228
230
flags : " nightly,unit-tests,php-${{ matrix.php-version }},sf-${{ matrix.symfony-version }}"
229
231
fail_ci_if_error : false
232
+
230
233
- name : Upload functional tests coverage to codecov
231
234
uses : codecov/codecov-action@v3
232
235
with :
0 commit comments