diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 73a845f..6ef0c76 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,6 +21,15 @@ jobs: - name: Test run: go test -v ./... + - name: Update coverage report + uses: ncruces/go-coverage-report@v0 + with: + report: true + chart: true + amend: true + reuse-go: true + continue-on-error: true + - name: Build with xgo uses: crazy-max/ghaction-xgo@v2 with: diff --git a/README.md b/README.md index 042e3f4..f6df230 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Thrift language server -[![Language grade: Go](https://img.shields.io/lgtm/grade/go/g/joyme123/thrift-ls.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/joyme123/thrift-ls/context:go) - +[![Go Coverage](https://github.com/joyme123/thrift-ls/wiki/coverage.svg)](https://raw.githack.com/wiki/joyme123/thrift-ls/coverage.html) ![Go](https://github.com/joyme123/thrift-ls/workflows/Go/badge.svg?branch=main) thrift-ls implements language server protocol