Skip to content

Commit

Permalink
cat coverprofile
Browse files Browse the repository at this point in the history
Signed-off-by: Navin Chandra <navinchandra772@gmail.com>
  • Loading branch information
navin772 committed Jul 10, 2024
1 parent bdf5cf0 commit c85b9a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
sleep 30
docker cp $CONTAINER_ID:/coverage.out gover.coverprofile
ls -l
cat gover.coverprofile
working-directory: KubeArmor

- name: Archive log artifacts
Expand All @@ -88,9 +89,9 @@ jobs:
if: ${{ always() }}
run: |
ls -l
go tool cover -func gover.coverprofile
go install github.com/modocache/gover@latest
gover
go tool cover -func=gover.coverprofile
working-directory: KubeArmor
env:
GOPATH: /home/runner/go
Expand Down

0 comments on commit c85b9a9

Please sign in to comment.