From 9e3bfff47ad304eec4fbc34b50bb3ab11e2d259e Mon Sep 17 00:00:00 2001 From: faiq Date: Fri, 26 Jan 2024 08:58:17 -0600 Subject: [PATCH] fix: view go env --- .github/workflows/build-dev.yaml | 2 +- Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-dev.yaml b/.github/workflows/build-dev.yaml index bafacea3c4..ea58c5afbe 100644 --- a/.github/workflows/build-dev.yaml +++ b/.github/workflows/build-dev.yaml @@ -42,7 +42,7 @@ jobs: run: devbox run -- make unit-test - name: Run coverage report - run: devbox run -- "go env && make coverage" + run: devbox run -- make coverage - name: Codecov uses: codecov/codecov-action@v3.1.4 diff --git a/Makefile b/Makefile index 0ce2abc07d..c70a5d4bd9 100644 --- a/Makefile +++ b/Makefile @@ -312,6 +312,8 @@ coverage: ## Run the tests of the project and export the coverage $(GOTOOL) cover -func profile.cov ifeq ($(EXPORT_RESULT), true) go env -w GO111MODULE=off + go env + pwd gocov convert profile.cov | gocov-xml > coverage.xml endif