Skip to content

Commit

Permalink
move vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lantoli committed Nov 13, 2023
1 parent 38168f1 commit 308146c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/actions/acceptance-test-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 308146c

Please sign in to comment.