From 60d06c95dbebdec34b29a6e688a3d211e3b0a2fa Mon Sep 17 00:00:00 2001 From: = Date: Mon, 25 Nov 2024 18:22:53 +0530 Subject: [PATCH] feat: changed to makefile command --- .github/workflows/test.yml | 2 +- internal/testacc/testing.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b024662..891e4d7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,5 +83,5 @@ jobs: INFISICAL_UNIVERSAL_AUTH_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_AUTH_CLIENT_ID }} INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET }} INFISICAL_TEST_ORG_ID: ${{ secrets.INFISICAL_TEST_ORG_ID }} - run: go test ./... -v $(TESTARGS) -timeout 120m + run: make testacc timeout-minutes: 10 diff --git a/internal/testacc/testing.go b/internal/testacc/testing.go index d6ac608..39cbee1 100644 --- a/internal/testacc/testing.go +++ b/internal/testacc/testing.go @@ -42,7 +42,7 @@ func init() { if v := os.Getenv(env); v != "" { env_values = append(env_values, v) } else { - log.Fatalf("%v must be set for acceptance tests", err) + log.Fatalf("%s must be set for acceptance tests", env) } }