From 66f0a56fb10f69e6521b1c5bac1e57b10924666a Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 9 Jan 2025 12:34:22 -0800 Subject: [PATCH] Upload coverage files to GHA so they're easier to inspect --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae676aca..9c9ecf67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,14 @@ jobs: # files: coverage.out # fail_ci_if_error: true # verbose: true + # in the meantime, upload coverage to GHA + - run: docker run --rm -i test go test -html /dev/stdin -o /dev/stdout < coverage.out > coverage.html + - uses: actions/upload-artifact@v4 + with: + name: coverage + path: coverage.* + include-hidden-files: true + if-no-files-found: error dockerfile: name: Test Dockerfile runs-on: ubuntu-latest