File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -177,17 +177,26 @@ jobs:
177
177
steps :
178
178
- name : Checkout repository
179
179
uses : actions/checkout@v3
180
+
181
+ - name : Install Go
182
+ uses : actions/setup-go@v3
183
+ with :
184
+ go-version : ${{ env.GO_VERSION }}
185
+
186
+ - name : Install gocovmerge
187
+ run : go install github.com/wadey/gocovmerge@b5bfa59
188
+
180
189
- name : Download coverage data artifact
181
190
uses : actions/download-artifact@v3
182
191
with :
183
192
name : ${{ env.COVERAGE_ARTIFACT }}
184
193
194
+ - name : Merge all code coverage artifacts
195
+ run : gocovmerge coverage*.txt > coverage.txt
196
+
185
197
- name : Send unit tests coverage to Codecov
186
198
uses : codecov/codecov-action@v3
187
199
with :
188
- files : >
189
- ./coverage_unit.txt,
190
- ./coverage_legacy.txt,
191
- ./coverage_integration_*.txt
200
+ files : ./coverage.txt
192
201
flags : unit
193
202
fail_ci_if_error : ${{ github.repository == 'arduino/arduino-cli' }}
You can’t perform that action at this time.
0 commit comments