Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: track code coverage in PRs #5312

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ jobs:
- name: Get dependencies
run: go get -v -t -d ./...
- name: Run tests
run: go test main_test.go main.go
run: go test -coverprofile=cover.out main_test.go main.go
- name: Install Vim
run: apt-get update; apt-get install -y vim;
phanirithvij marked this conversation as resolved.
Show resolved Hide resolved
- name: Go Beautiful HTML Coverage
uses: gha-common/go-beautiful-html-coverage@v1
kilianc marked this conversation as resolved.
Show resolved Hide resolved
Loading