Skip to content

Commit

Permalink
fix server ci integration (#10296)
Browse files Browse the repository at this point in the history
Now that the CI is running, I'm trying to fix the tests
  • Loading branch information
Weiko authored Feb 18, 2025
1 parent d6655a2 commit 5cf0a71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const QUERY_MAX_RECORDS = 100;
export const QUERY_MAX_RECORDS = 60;

0 comments on commit 5cf0a71

Please sign in to comment.