File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,15 +240,22 @@ jobs:
240240 lib/knowledge/__integration__/connector-upload.integration.ts
241241 lib/uploads/contexts/organization-logo/application.integration.ts
242242
243- - name : Verify Confluence audiences and permission queries in PostgreSQL
243+ - name : Verify Confluence identity and directory sync in PostgreSQL
244244 working-directory : apps/sim
245245 env :
246246 KNOWLEDGE_ACL_TEST_DATABASE_URL : postgresql://postgres:postgres@127.0.0.1:5432/sim_auth_scim
247+ run : >-
248+ bunx vitest run --mode integration
249+ lib/knowledge/__integration__/confluence-identity.integration.ts
250+ lib/knowledge/__integration__/directory-sync.integration.ts
251+
252+ - name : Verify Confluence audience migrations and permission queries in PostgreSQL
253+ working-directory : apps/sim
254+ env :
255+ KNOWLEDGE_ACL_TEST_DATABASE_URL : postgresql://postgres:postgres@127.0.0.1:5432/sim_acl_test
247256 run : |
248- bunx vitest run --mode integration \
249- lib/knowledge/access/group-membership.integration.ts \
250- lib/knowledge/__integration__/confluence-identity.integration.ts \
251- lib/knowledge/__integration__/directory-sync.integration.ts
257+ bun -e 'import postgres from "postgres"; const sql = postgres(process.env.DATABASE_URL); await sql`CREATE DATABASE sim_acl_test`; await sql.end()'
258+ bunx vitest run --mode integration lib/knowledge/access/group-membership.integration.ts
252259 bunx vitest run \
253260 lib/knowledge/access/predicate.postgres.test.ts \
254261 lib/knowledge/connectors/external-directory.postgres.test.ts
You can’t perform that action at this time.
0 commit comments