Skip to content

Commit

Permalink
Report coverage via the Coveralls GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
annismckenzie committed Jan 17, 2021
1 parent 32f24d8 commit 49a1f72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test ./...
run: go test -v -race -covermode atomic -coverprofile=profile.cov ./...
env:
KUBEBUILDER_ASSETS: /home/runner/work/_temp/_github_home/kubebuilder/bin
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov

0 comments on commit 49a1f72

Please sign in to comment.