feat: creating mogodb and postgres mock instance in checkpoint test (#561)

* fix: using mongomock for the checkpoint test

* Add postgres mock setting to the unit test

* Added utils file of postgres_mock_utils

* fixed the runtime loading error of deerflow server
This commit is contained in:
Willem Jiang
2025-09-09 22:49:11 +08:00
committed by GitHub
parent 7138ba36bc
commit 4c17d88029
6 changed files with 463 additions and 151 deletions

View File

@@ -54,7 +54,7 @@ jobs:
- name: Run test cases with coverage
run: |
source .venv/bin/activate
TAVILY_API_KEY=mock-key make coverage
TAVILY_API_KEY=mock-key DB_TESTS_ENABLED=true make coverage
- name: Generate HTML Coverage Report
run: |