Skip to content

Commit

Permalink
Parameterize acceptance tests for local runs
Browse files Browse the repository at this point in the history
  • Loading branch information
csquire committed Dec 10, 2024
1 parent 4122ffb commit 7495f39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export [email protected]
export DBT_CLOUD_TOKEN=<api_token>
export DBT_CLOUD_HOST_URL=https://<api_host>/api
export DBT_CLOUD_GROUP_IDS=1,2,3
export ACC_TEST_GITHUB_REPO_URL=[email protected]:my-org/dbt-fundamentals.git
export ACC_TEST_GITHUB_REPO_URL=[email protected]:<github-org>/<dbt-project>.git
export ACC_TEST_GITHUB_APP_INSTALLATION_ID=5678
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test: deps
go test -mod=readonly -count=1 ./...

test-acceptance: deps
TF_ACC=1 go test -v -mod=readonly -count=1 -parallel 10 ./...
TF_ACC=1 go test -v -mod=readonly -count=1 -parallel 1 ./...

check-docs: docs
git diff --exit-code -- docs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ DBT_CLOUD_USER_EMAIL=<email_address>
DBT_CLOUD_TOKEN=<api_token>
DBT_CLOUD_HOST_URL=https://<host>/api
DBT_CLOUD_GROUP_IDS=1,2,3
[email protected]:my-org/dbt-fundamentals.git
[email protected]:<github-org>/<dbt-project>.git
ACC_TEST_GITHUB_APP_INSTALLATION_ID=1234
```

Expand Down

0 comments on commit 7495f39

Please sign in to comment.