fix server ci integration (#10296)

Now that the CI is running, I'm trying to fix the tests
This commit is contained in:
Weiko
2025-02-18 17:01:29 +01:00
committed by GitHub
parent d6655a2c3b
commit 5cf0a71d12
2 changed files with 4 additions and 4 deletions

View File

@ -195,15 +195,15 @@ jobs:
npx nx build twenty-shared
npx nx build twenty-emails
- name: Server / Create Test DB
env:
NODE_ENV: test
run: |
PGPASSWORD=postgres psql -h localhost -p 5432 -U postgres -d postgres -c 'CREATE DATABASE "test";'
PG_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test npx nx run twenty-server:database:init:prod
PG_DATABASE_URL=postgres://postgres:postgres@localhost:5432/test npx nx run twenty-server:database:migrate:prod
- name: Server / Run Integration Tests
uses: ./.github/workflows/actions/nx-affected
with:
tag: scope:backend
tasks: 'test:integration --configuration=with-db-reset'
tasks: 'test:integration:with-db-reset'
- name: Server / Upload reset-logs file
if: always()
uses: actions/upload-artifact@v4

View File

@ -1 +1 @@
export const QUERY_MAX_RECORDS = 100;
export const QUERY_MAX_RECORDS = 60;