From e918a0a940e77510060e7300a39fc0c04062dbb2 Mon Sep 17 00:00:00 2001 From: Noooste <83548733+Noooste@users.noreply.github.com> Date: Sun, 19 Apr 2026 15:54:30 +0200 Subject: [PATCH] test: update script execution to use bash for coverage gate Signed-off-by: Noooste <83548733+Noooste@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: