fix integration tests
This commit is contained in:
+3
-2
@@ -82,7 +82,6 @@ integration_tests:
|
||||
NODE_ENV: test
|
||||
before_script:
|
||||
- npm ci
|
||||
- npm run db:generate
|
||||
# Overwrite the local .env.test so vitest integration config gets CI service hostnames
|
||||
# (the file uses postgres/redis aliases, not localhost)
|
||||
- |
|
||||
@@ -94,8 +93,10 @@ integration_tests:
|
||||
NODE_ENV=test
|
||||
FILE_STORAGE_ROOT=/tmp/rentaldrivego-test-storage
|
||||
EOF
|
||||
- npm run db:deploy
|
||||
script:
|
||||
- npm run db:generate
|
||||
- npm run db:deploy
|
||||
- npx prisma db push --schema packages/database/prisma/schema.prisma
|
||||
- npm run test:api:integration
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
|
||||
Reference in New Issue
Block a user