Remove the code in tests/e2e from test coverage report
set -e
echo "" > coverage.txt
go test -i -race ./cmd/odo
-for d in $(go list ./... | grep -v vendor); do
+for d in $(go list ./... | grep -v vendor | grep -v tests/e2e); do
# For watch related tests, race check causes issue so disabling them here as race is already tested in other tests when used with `-coverprofile=profile.out`
if [ "$d" = "github.com/redhat-developer/odo/pkg/component" ]; then
go test -coverprofile=profile.out -covermode=atomic $d
