mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
include txt and html coverage profile
This commit is contained in:
parent
25d94ffe2a
commit
e75fca007e
1 changed files with 3 additions and 4 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -237,15 +237,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export GOCOVERDIR=./coverdir
|
export GOCOVERDIR=./coverdir
|
||||||
./cmd/caddy/caddy stop
|
./cmd/caddy/caddy stop
|
||||||
go tool covdata textfmt -i=coverdir -o hurl-report/cover-profile.txt
|
go tool covdata textfmt -i=coverdir -o hurl-report/caddy_cover_${{ steps.vars.outputs.short_sha }}.txt
|
||||||
go tool cover -html hurl-report/cover-profile.txt -o hurl-report/cover.html
|
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
|
||||||
|
|
||||||
|
|
||||||
- name: Publish Coverage Profile
|
- name: Publish Coverage Profile
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: caddy_cover_${{ steps.vars.outputs.short_sha }}.html
|
path: hurl-report/caddy_cover_${{ steps.vars.outputs.short_sha }}.*
|
||||||
path: "./hurl-report/cover.html"
|
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
|
|
||||||
s390x-test:
|
s390x-test:
|
||||||
|
|
Loading…
Reference in a new issue