-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added code coverage report generation and upload to codecov (#317)
- Loading branch information
Dharmjit Singh
authored
Jan 18, 2022
1 parent
952add0
commit 0fefe0b
Showing
2 changed files
with
12 additions
and
2 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 |
---|---|---|
|
@@ -17,7 +17,14 @@ jobs: | |
go-version: 1.16 | ||
|
||
- name: Install ginkgo | ||
run: sudo apt-get install golang-ginkgo-dev | ||
run: go get github.com/onsi/ginkgo/[email protected] | ||
|
||
- name: Run test make target | ||
run: make test | ||
|
||
- name: Upload test coverage | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: cover.out | ||
verbose: true |
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