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: |