From 88b5b409df5dcfedd9ef6911b12c115966edef69 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Wed, 10 Jul 2024 11:12:31 +0100 Subject: [PATCH] Use courtney. --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 29f8792..ba806d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,8 +59,17 @@ jobs: - name: Test GORM run: gormlite/test.sh + - name: Test coverage + run: | + go install github.com/dave/courtney@latest + courtney + if: | + github.event_name == 'push' && + matrix.os == 'ubuntu-latest' + - uses: ncruces/go-coverage-report@v0 with: + coverage-file: coverage.out chart: true amend: true if: |