diff --git a/.github/workflows/test-data-service.yml b/.github/workflows/test-data-service.yml index 3918d3c..a45e558 100644 --- a/.github/workflows/test-data-service.yml +++ b/.github/workflows/test-data-service.yml @@ -21,7 +21,7 @@ jobs: go-version: '1.21.x' - name: Download dependencies - run: cd data-management-service && go mod download + run: cd data-management-service && go mod download && go mod vendor - name: Unit test & integration test run: cd data-management-service && go test -v -coverprofile=coverage.txt ./... diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..6ccc90b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,16 @@ +coverage: + status: + project: + default: + informational: true + patch: + default: + informational: true + +comment: #this is a top-level key + layout: " diff, flags, files" + behavior: default + require_changes: false # if true: only post the comment if coverage changes + require_base: false # [true :: must have a base report to post] + require_head: true # [true :: must have a head report to post] + hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage] \ No newline at end of file