Skip to content

Commit

Permalink
ci: more explicit integration-in-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Oct 27, 2023
1 parent c9ab389 commit 23028a4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions core/api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ del-containers:

legacy-integration:
pnpm run build && \
. ./.env pnpm run test:legacy-integration
pnpm run test:legacy-integration

reset-legacy-integration: reset-deps-integration legacy-integration

integration:
pnpm run build && \
. ./.env pnpm run test:integration
. ./.env && pnpm run test:integration

reset-integration: reset-deps-integration integration

Expand All @@ -102,7 +102,12 @@ bats-in-ci:

integration-in-ci:
pnpm install --frozen-lockfile && \
$(MAKE) reset-all-integration
SVIX_ENDPOINT= \
SVIX_SECRET= \
NODE_OPTIONS="--max-old-space-size=6144" \
NODE_ENV=test LOGLEVEL=error $(BIN_DIR)/jest --config ./test/legacy-integration/jest.config.js --bail --runInBand --ci --reporters=default --reporters=jest-junit && \
NODE_OPTIONS="--max-old-space-size=6144" \
NODE_ENV=test LOGLEVEL=error $(BIN_DIR)/jest --config ./test/integration/jest.config.js --bail --runInBand --ci --reporters=default --reporters=jest-junit

unit-in-ci:
. ./.env && \
Expand Down

0 comments on commit 23028a4

Please sign in to comment.