Skip to content

Commit 0a27154

Browse files
committed
Github action test failure fix attempt CrunchyData#2.
1 parent 481d222 commit 0a27154

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- master
1010

11+
env:
12+
QUERIES_CONFIG_DIR: "hack/tools/queries"
13+
1114
jobs:
1215
go-test:
1316
runs-on: ubuntu-20.04
@@ -34,7 +37,7 @@ jobs:
3437
- uses: actions/setup-go@v3
3538
with: { go-version: 1.x }
3639
- run: go mod download
37-
- run: ENVTEST_K8S_VERSION="${KUBERNETES#default}" QUERIES_CONFIG_DIR="${QUERIES_CONFIG_DIR}" make check-envtest
40+
- run: ENVTEST_K8S_VERSION="${KUBERNETES#default}" make check-envtest
3841
env:
3942
KUBERNETES: "${{ matrix.kubernetes }}"
4043
GO_TEST: go test --coverprofile 'envtest.coverage' --coverpkg ./internal/...
@@ -69,7 +72,7 @@ jobs:
6972
registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.19-3
7073
registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.8-3
7174
72-
- run: QUERIES_CONFIG_DIR="${QUERIES_CONFIG_DIR}" make createnamespaces check-envtest-existing
75+
- run: make createnamespaces check-envtest-existing
7376
env:
7477
PGO_TEST_TIMEOUT_SCALE: 1.2
7578
GO_TEST: go test --coverprofile 'envtest-existing.coverage' --coverpkg ./internal/...

0 commit comments

Comments
 (0)