-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix goveralls coverage reporting (#3197)
* Add make target to visualize coverage locally Signed-off-by: Edu Gómez Escandell <egomez@redhat.com> * Remove unused goveralls GitHub workflow The goveralls integration is being revived here: kubevirt/project-infra#3350 Signed-off-by: Edu Gómez Escandell <egomez@redhat.com> * Update goveralls Make target Signed-off-by: Edu Gómez Escandell <egomez@redhat.com> --------- Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
- Loading branch information
1 parent
6f93302
commit e0a7544
Showing
3 changed files
with
16 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu | ||
|
||
COVER_DIR="$(mktemp -d)" | ||
go tool cover -o "${COVER_DIR}/index.html" -html ".coverprofile" | ||
|
||
PORT="8000" | ||
python3 -m http.server ${PORT} --directory ${COVER_DIR} |