diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8b555c9..d7828f6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: go test -race -coverprofile=../coverage.out -coverpkg=./... ./... - name: Enforce coverage gate - run: ./scripts/coverage-gate.sh coverage.out + run: bash scripts/coverage-gate.sh coverage.out - name: Upload coverage artifact if: always() diff --git a/Makefile b/Makefile index 603129a..f964be9 100644 --- a/Makefile +++ b/Makefile @@ -149,7 +149,7 @@ test-race: ## test-cover: Run backend unit tests with coverage and enforce the coverage gate test-cover: cd backend && go test -coverprofile=../coverage.out -coverpkg=./... ./... - ./scripts/coverage-gate.sh coverage.out + bash scripts/coverage-gate.sh coverage.out ## test-smoke: Run the docker-compose smoke test (requires Docker + compose v2) test-smoke: