forked from wso2/k8s-api-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload test coverage reports to Codecov
Upload test coverage reports to Codecov
- Loading branch information
Bhathiya Jayasekara
authored
Mar 3, 2021
1 parent
388e1bc
commit 6cb03c5
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ on: | |
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
branches: [ master ] | ||
|
||
jobs: | ||
|
||
|
@@ -56,3 +58,8 @@ jobs: | |
run: | | ||
cd api-operator/ | ||
go test -race -coverprofile=coverage.txt -covermode=atomic ./pkg/... | ||
- name: Upload unit test coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
flags: unit_tests |