Skip to content

Commit 66f0a56

Browse files
committed
Upload coverage files to GHA so they're easier to inspect
1 parent c0ea3dd commit 66f0a56

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ jobs:
5555
# files: coverage.out
5656
# fail_ci_if_error: true
5757
# verbose: true
58+
# in the meantime, upload coverage to GHA
59+
- run: docker run --rm -i test go test -html /dev/stdin -o /dev/stdout < coverage.out > coverage.html
60+
- uses: actions/upload-artifact@v4
61+
with:
62+
name: coverage
63+
path: coverage.*
64+
include-hidden-files: true
65+
if-no-files-found: error
5866
dockerfile:
5967
name: Test Dockerfile
6068
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)