From 308146c08911cee733b4f1e2bf9162d2cd1a6f13 Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Mon, 13 Nov 2023 08:40:10 +0100 Subject: [PATCH] move vars --- .github/actions/acceptance-test-action/action.yml | 4 ---- .github/workflows/acceptance-tests.yml | 4 ++++ GNUmakefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/acceptance-test-action/action.yml b/.github/actions/acceptance-test-action/action.yml index 675ba4d3a5..873739f501 100644 --- a/.github/actions/acceptance-test-action/action.yml +++ b/.github/actions/acceptance-test-action/action.yml @@ -27,9 +27,5 @@ runs: if: ${{ inputs.forceTestAcc || steps.filter.outputs.src == 'true'}} env: TEST_REGEX: ${{ inputs.testRegex }} - TF_LOG: ${{ vars.LOG_LEVEL }} - SKIP_TEST_EXTERNAL_CREDENTIALS: ${{ vars.SKIP_TEST_EXTERNAL_CREDENTIALS }} - ACCTEST_TIMEOUT: ${{ vars.ACCTEST_TIMEOUT }} - PARALLEL_GO_TEST: "20" shell: bash run: make testacc diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index ee9ed749df..fd932bde2d 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -14,6 +14,10 @@ on: env: FORCE_TEST_ACC: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event.label.name == 'run-testacc' || inputs.parent-event-name == 'release' }} + TF_LOG: ${{ vars.LOG_LEVEL }} + SKIP_TEST_EXTERNAL_CREDENTIALS: ${{ vars.SKIP_TEST_EXTERNAL_CREDENTIALS }} + ACCTEST_TIMEOUT: ${{ vars.ACCTEST_TIMEOUT }} + PARALLEL_GO_TEST: "20" jobs: search_index: runs-on: ubuntu-latest diff --git a/GNUmakefile b/GNUmakefile index 1e9ca3189f..e2401edc38 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,6 @@ TEST?=$$(go list ./... | grep -v /integrationtesting) ACCTEST_TIMEOUT?=300m -PARALLEL_GO_TEST?=20 +PARALLEL_GO_TEST?=5 GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor) PKG_NAME=mongodbatlas