Skip to content

Commit

Permalink
fix: view go env
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Jan 26, 2024
1 parent 2239015 commit 9e3bfff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9e3bfff

Please sign in to comment.