From c632bf429570d3c293a1369e61c89258912bfc67 Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 16:24:33 -0700 Subject: [PATCH 1/3] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 918941fc..a74ac5ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: run: | curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2 - golangci-lint run + golangci-lint run --max-issues-per-linter 0 --max-same-issues 0 --timeout 10m tests: name: Terraform acceptance tests From 482c80044efe9d92d8575879d543d71d7ca6307c Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 17:05:40 -0700 Subject: [PATCH 2/3] Update test.yml --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a74ac5ab..0d9c588e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,6 +55,7 @@ jobs: name: Terraform acceptance tests runs-on: ubuntu-latest timeout-minutes: 10 + environment: Acceptance tests needs: build steps: - name: Setup Go 1.18 From 3106a36d4dd9fcbe03d91a4576c6c1e8c4dcbc12 Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 17:12:24 -0700 Subject: [PATCH 3/3] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0d9c588e..482d9e80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,7 +55,7 @@ jobs: name: Terraform acceptance tests runs-on: ubuntu-latest timeout-minutes: 10 - environment: Acceptance tests + environment: testing needs: build steps: - name: Setup Go 1.18 @@ -76,5 +76,5 @@ jobs: B1DDI_API_KEY: ${{ secrets.BLOXONE_API_KEY }} INTERNAL_SECONDARY: ${{ secrets.INTERNAL_SECONDARY }} run: | - echo $B1DDI_HOST, $B1DDI_API_KEY + echo ${B1DDI_HOST}, ${B1DDI_API_KEY} go test -v -cover ./b1ddi/b1ddi