Skip to content

Commit

Permalink
Upload coverage files to GHA so they're easier to inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Jan 9, 2025
1 parent c0ea3dd commit 66f0a56
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66f0a56

Please sign in to comment.