Skip to content

Commit

Permalink
Upload test coverage reports to Codecov
Browse files Browse the repository at this point in the history
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.
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
branches: [ master ]

jobs:

Expand Down Expand Up @@ -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

0 comments on commit 6cb03c5

Please sign in to comment.