Skip to content

Commit

Permalink
fixup! tech: add datamart connection
Browse files Browse the repository at this point in the history
  • Loading branch information
HEYGUL committed Dec 24, 2024
1 parent 7bb6409 commit 5332742
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,12 +398,19 @@ jobs:
environment:
NODE_ENV: test
TEST_DATABASE_URL: postgres://circleci@localhost:5432/circleci_integration
- run:
name: Prepare datamart
command: npm run datamart:prepare
environment:
NODE_ENV: test
TEST_DATAMART_DATABASE_URL: postgres://circleci@localhost:5432/circleci_integration_datamart
- run:
name: Test
command: npm run test:api:integration
environment:
NODE_ENV: test
TEST_DATABASE_URL: postgres://circleci@localhost:5432/circleci_integration
TEST_DATAMART_DATABASE_URL: postgres://circleci@localhost:5432/circleci_integration_datamart
TEST_REDIS_URL: redis://localhost:6379
TEST_IMPORT_STORAGE_ENDPOINT: http://localhost:9090
TEST_IMPORT_STORAGE_BUCKET_NAME: pix-import-test
Expand All @@ -428,6 +435,12 @@ jobs:
environment:
NODE_ENV: test
TEST_DATABASE_URL: postgres://circleci@localhost:5432/circleci_acceptance
- run:
name: Prepare datamart
command: npm run datamart:prepare
environment:
NODE_ENV: test
TEST_DATAMART_DATABASE_URL: postgres://circleci@localhost:5432/circleci_integration_datamart
- run:
name: Test
command: |
Expand All @@ -437,6 +450,7 @@ jobs:
environment:
NODE_ENV: test
TEST_DATABASE_URL: postgres://circleci@localhost:5432/circleci_acceptance
TEST_DATAMART_DATABASE_URL: postgres://circleci@localhost:5432/circleci_integration_datamart
TEST_REDIS_URL: redis://localhost:6379
TEST_IMPORT_STORAGE_ENDPOINT: http://localhost:9090
TEST_IMPORT_STORAGE_BUCKET_NAME: pix-import-test
Expand Down

0 comments on commit 5332742

Please sign in to comment.