File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -177,17 +177,26 @@ jobs:
177177 steps :
178178 - name : Checkout repository
179179 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+
180189 - name : Download coverage data artifact
181190 uses : actions/download-artifact@v3
182191 with :
183192 name : ${{ env.COVERAGE_ARTIFACT }}
184193
194+ - name : Merge all code coverage artifacts
195+ run : gocovmerge coverage*.txt > coverage.txt
196+
185197 - name : Send unit tests coverage to Codecov
186198 uses : codecov/codecov-action@v3
187199 with :
188- files : >
189- ./coverage_unit.txt,
190- ./coverage_legacy.txt,
191- ./coverage_integration_*.txt
200+ files : ./coverage.txt
192201 flags : unit
193202 fail_ci_if_error : ${{ github.repository == 'arduino/arduino-cli' }}
You can’t perform that action at this time.
0 commit comments