From 0c76b071d6f5ddbe74153b80bc3593c13e438aa3 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 30 Oct 2024 16:12:54 +0100 Subject: [PATCH] add coverage report --- .github/workflows/go.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bca286a..5035a21 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,3 +29,15 @@ jobs: run: go build -v ./... - name: Test run: make test + - name: Update coverage report + uses: ncruces/go-coverage-report@v0 + with: + report: true + chart: true + amend: true + if: | + matrix.os == 'ubuntu-latest' && + matrix.go == '1.23' && + github.event_name == 'push' + continue-on-error: true +