Skip to content

Commit

Permalink
Adjust coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
robholland committed Oct 31, 2024
1 parent db92be8 commit 7ffc6c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ jobs:
run: go test -tags=integration ./...

- name: Coverage
if: matrix.os == 'ubuntu-latest'
run: make unit-test-coverage functional-test-coverage coverage-report
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ unit-test-coverage: $(TEST_COVERAGE_OUTPUT_ROOT)

functional-test-coverage: $(FUNCTIONAL_COVERAGE_OUTPUT_ROOT)
@echo Functional test coverage
go test -cover ./app/test -coverpkg ./... -args -test.gocoverdir=$(FUNCTIONAL_COVERAGE_OUTPUT_ROOT)
go test -tags integration -cover ./app/test -coverpkg ./... -args -test.gocoverdir=$(FUNCTIONAL_COVERAGE_OUTPUT_ROOT)

coverage-report: $(TEST_COVERAGE_OUTPUT_ROOT) $(FUNCTIONAL_COVERAGE_OUTPUT_ROOT) $(SUMMARY_COVERAGE_OUTPUT_ROOT)
@echo Summary coverage report
Expand Down

0 comments on commit 7ffc6c9

Please sign in to comment.