From 19a1b2ddc88cdefadf22c22688ec2788caf7753e Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Tue, 17 Dec 2024 13:08:14 +1100 Subject: [PATCH] chore: fix integration test matrix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0a7c10b4..4174f997f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -281,7 +281,7 @@ jobs: run: | set -euo pipefail # shellcheck disable=SC2046 - go test -v -race -tags integration -run '^${{ matrix.test }}$' $(git grep -l '^//go:build integration' | xargs grep -l '^func ${{ matrix.test }}' | xargs -I {} dirname ./{}) + go test -v -race -tags integration -run '^(${{ matrix.test }})$' $(git grep -l '^//go:build integration' | xargs grep -l -E '^func (${{ matrix.test }})' | xargs -I {} dirname ./{}) infrastructure-shard: name: Shard Infrastructure Tests # if: github.event_name != 'pull_request' || github.event.action == 'enqueued' || contains( github.event.pull_request.labels.*.name, 'run-all')