Merge branch 'main' into main-merge-vol5
This commit is contained in:
commit
b9bcda0343
3 changed files with 11 additions and 3 deletions
10
.github/workflows/community_greetings.yml
vendored
10
.github/workflows/community_greetings.yml
vendored
|
|
@ -1,6 +1,14 @@
|
||||||
name: community | Greetings
|
name: community | Greetings
|
||||||
|
|
||||||
on: [pull_request, issues]
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
greeting:
|
greeting:
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ class CogneeTestClient:
|
||||||
print(" Some tests may fail without proper LLM API configuration.")
|
print(" Some tests may fail without proper LLM API configuration.")
|
||||||
print(" Set OPENAI_API_KEY environment variable for full functionality.")
|
print(" Set OPENAI_API_KEY environment variable for full functionality.")
|
||||||
else:
|
else:
|
||||||
print(f"✅ API key configured (key ending in: ...{api_key[-4:]})")
|
print("✅ API key configured.")
|
||||||
|
|
||||||
# Create temporary test files
|
# Create temporary test files
|
||||||
self.test_data_dir = tempfile.mkdtemp(prefix="cognee_test_")
|
self.test_data_dir = tempfile.mkdtemp(prefix="cognee_test_")
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ def read_kuzu_storage_version(kuzu_db_path: str) -> int:
|
||||||
if kuzu_version_mapping.get(version_code):
|
if kuzu_version_mapping.get(version_code):
|
||||||
return kuzu_version_mapping[version_code]
|
return kuzu_version_mapping[version_code]
|
||||||
else:
|
else:
|
||||||
ValueError("Could not map version_code to proper Kuzu version.")
|
raise ValueError("Could not map version_code to proper Kuzu version.")
|
||||||
|
|
||||||
|
|
||||||
def ensure_env(version: str, export_dir) -> str:
|
def ensure_env(version: str, export_dir) -> str:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue