Skip to content

Commit e5e3995

Browse files
authored
fix(ci): lf server startup (#1012)
1 parent 4992b73 commit e5e3995

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ jobs:
8787
pnpm run db:migrate
8888
pnpm run db:seed
8989
echo "::endgroup::"
90+
rm -rf .env
9091
9192
echo "::group::Run server"
92-
TELEMETRY_ENABLED=false CLICKHOUSE_MIGRATION_URL=clickhouse://clickhouse:9000 LANGFUSE_ASYNC_INGESTION_PROCESSING=false LANGFUSE_ASYNC_CLICKHOUSE_INGESTION_PROCESSING=false docker compose -f docker-compose.v3preview.yml up -d
93+
TELEMETRY_ENABLED=false CLICKHOUSE_CLUSTER_ENABLED=false LANGFUSE_ASYNC_INGESTION_PROCESSING=false LANGFUSE_ASYNC_CLICKHOUSE_INGESTION_PROCESSING=false LANGFUSE_READ_FROM_POSTGRES_ONLY=true LANGFUSE_READ_FROM_CLICKHOUSE_ONLY=false docker compose -f docker-compose.v3preview.yml up -d
9394
echo "::endgroup::"
9495
9596
# Add this step to check the health of the container

tests/test_datasets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ def test_linking_via_id_observation_arg_legacy():
267267

268268
item.link(generation_id, run_name)
269269

270+
langfuse.flush()
271+
270272
run = langfuse.get_dataset_run(dataset_name, run_name)
271273

272274
assert run.name == run_name

0 commit comments

Comments
 (0)