Skip to content

Commit e75fca0

Browse files
authored
include txt and html coverage profile
1 parent 25d94ff commit e75fca0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,14 @@ jobs:
237237
run: |
238238
export GOCOVERDIR=./coverdir
239239
./cmd/caddy/caddy stop
240-
go tool covdata textfmt -i=coverdir -o hurl-report/cover-profile.txt
241-
go tool cover -html hurl-report/cover-profile.txt -o hurl-report/cover.html
240+
go tool covdata textfmt -i=coverdir -o hurl-report/caddy_cover_${{ steps.vars.outputs.short_sha }}.txt
241+
go tool cover -html hurl-report/caddy_cover_${{ steps.vars.outputs.short_sha }}.txt -o hurl-report/caddy_cover_${{ steps.vars.outputs.short_sha }}.html
242242
243243
244244
- name: Publish Coverage Profile
245245
uses: actions/upload-artifact@v4
246246
with:
247-
name: caddy_cover_${{ steps.vars.outputs.short_sha }}.html
248-
path: "./hurl-report/cover.html"
247+
path: hurl-report/caddy_cover_${{ steps.vars.outputs.short_sha }}.*
249248
compression-level: 0
250249

251250
s390x-test:

0 commit comments

Comments
 (0)