Skip to content

Commit

Permalink
Added coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Aug 11, 2020
1 parent fbb6747 commit 4b964cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
with:
# always uses the latest patch version.
version: v1.30
args: --timeout 2m0s
test:
# This job runs on Linux
runs-on: ubuntu-latest
Expand Down Expand Up @@ -58,6 +57,11 @@ jobs:
KUBEBUILDER_ASSETS="${PWD}/kubebuilder/bin" go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
- name: Upload coverage results to coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out

- name: Upload coverage results
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 4b964cd

Please sign in to comment.