Revert "refactor: point to new example paths github workflows (#1868)"
This reverts commit d4b0e2d6ca.
This commit is contained in:
parent
d4b0e2d6ca
commit
ed05ea0be4
6 changed files with 25 additions and 25 deletions
6
.github/workflows/basic_tests.yml
vendored
6
.github/workflows/basic_tests.yml
vendored
|
|
@ -158,7 +158,7 @@ jobs:
|
||||||
python-version: ${{ inputs.python-version }}
|
python-version: ${{ inputs.python-version }}
|
||||||
|
|
||||||
- name: Run Simple Examples
|
- name: Run Simple Examples
|
||||||
run: uv run python ./new-examples/demos/simple_default_cognee_pipelines_example.py
|
run: uv run python ./examples/python/simple_example.py
|
||||||
|
|
||||||
simple-examples-baml:
|
simple-examples-baml:
|
||||||
name: Run Simple Examples BAML
|
name: Run Simple Examples BAML
|
||||||
|
|
@ -196,7 +196,7 @@ jobs:
|
||||||
extra-dependencies: "baml"
|
extra-dependencies: "baml"
|
||||||
|
|
||||||
- name: Run Simple Examples
|
- name: Run Simple Examples
|
||||||
run: uv run python ./new-examples/demos/simple_default_cognee_pipelines_example.py
|
run: uv run python ./examples/python/simple_example.py
|
||||||
|
|
||||||
graph-tests:
|
graph-tests:
|
||||||
name: Run Basic Graph Tests
|
name: Run Basic Graph Tests
|
||||||
|
|
@ -226,4 +226,4 @@ jobs:
|
||||||
python-version: ${{ inputs.python-version }}
|
python-version: ${{ inputs.python-version }}
|
||||||
|
|
||||||
- name: Run Graph Tests
|
- name: Run Graph Tests
|
||||||
run: uv run python ./new-examples/custom_pipelines/code_graph_repository_analysis_example.py --repo_path ./cognee/tasks/graph
|
run: uv run python ./examples/python/code_graph_example.py --repo_path ./cognee/tasks/graph
|
||||||
|
|
|
||||||
6
.github/workflows/db_examples_tests.yml
vendored
6
.github/workflows/db_examples_tests.yml
vendored
|
|
@ -74,7 +74,7 @@ jobs:
|
||||||
GRAPH_DATABASE_USERNAME: ${{ steps.neo4j.outputs.neo4j-username }}
|
GRAPH_DATABASE_USERNAME: ${{ steps.neo4j.outputs.neo4j-username }}
|
||||||
GRAPH_DATABASE_PASSWORD: ${{ steps.neo4j.outputs.neo4j-password }}
|
GRAPH_DATABASE_PASSWORD: ${{ steps.neo4j.outputs.neo4j-password }}
|
||||||
run: |
|
run: |
|
||||||
uv run python new-examples/configurations/database_examples/neo4j_graph_database_configuration.py
|
uv run python examples/database_examples/neo4j_example.py
|
||||||
|
|
||||||
run-db-example-kuzu:
|
run-db-example-kuzu:
|
||||||
name: "Kuzu DB Example Test"
|
name: "Kuzu DB Example Test"
|
||||||
|
|
@ -106,7 +106,7 @@ jobs:
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
GRAPH_DATABASE_PROVIDER: "kuzu"
|
GRAPH_DATABASE_PROVIDER: "kuzu"
|
||||||
run: |
|
run: |
|
||||||
uv run python new-examples/configurations/database_examples/kuzu_graph_database_configuration.py
|
uv run python examples/database_examples/kuzu_example.py
|
||||||
|
|
||||||
run-db-example-pgvector:
|
run-db-example-pgvector:
|
||||||
name: "PostgreSQL PGVector DB Example Test"
|
name: "PostgreSQL PGVector DB Example Test"
|
||||||
|
|
@ -151,4 +151,4 @@ jobs:
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: |
|
run: |
|
||||||
uv run python new-examples/configurations/database_examples/pgvector_postgres_vector_database_configuration.py
|
uv run python examples/database_examples/pgvector_example.py
|
||||||
|
|
|
||||||
16
.github/workflows/examples_tests.yml
vendored
16
.github/workflows/examples_tests.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
ENV: 'dev'
|
ENV: 'dev'
|
||||||
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
run: uv run python ./new-examples/demos/multimedia_processing/multimedia_audio_image_processing_example.py
|
run: uv run python ./examples/python/multimedia_example.py
|
||||||
|
|
||||||
test-eval-example:
|
test-eval-example:
|
||||||
name: Run Eval Example
|
name: Run Eval Example
|
||||||
|
|
@ -112,7 +112,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/custom_pipelines/dynamic_steps_resume_analysis_hr_example.py
|
run: uv run python ./examples/python/dynamic_steps_example.py
|
||||||
|
|
||||||
test-temporal-example:
|
test-temporal-example:
|
||||||
name: Run Temporal Tests
|
name: Run Temporal Tests
|
||||||
|
|
@ -138,7 +138,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/demos/temporal_awareness_example.py
|
run: uv run python ./examples/python/temporal_example.py
|
||||||
|
|
||||||
test-ontology-example:
|
test-ontology-example:
|
||||||
name: Run Ontology Tests
|
name: Run Ontology Tests
|
||||||
|
|
@ -164,7 +164,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/demos/ontology_reference_vocabulary/ontology_as_reference_vocabulary_example.py
|
run: uv run python ./examples/python/ontology_demo_example.py
|
||||||
|
|
||||||
test-agentic-reasoning:
|
test-agentic-reasoning:
|
||||||
name: Run Agentic Reasoning Tests
|
name: Run Agentic Reasoning Tests
|
||||||
|
|
@ -190,7 +190,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/custom_pipelines/agentic_reasoning_procurement_example.py
|
run: uv run python ./examples/python/agentic_reasoning_procurement_example.py
|
||||||
|
|
||||||
test-memify:
|
test-memify:
|
||||||
name: Run Memify Example
|
name: Run Memify Example
|
||||||
|
|
@ -216,7 +216,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/custom_pipelines/memify_coding_agent_rule_extraction_example.py
|
run: uv run python ./examples/python/memify_coding_agent_example.py
|
||||||
|
|
||||||
test-custom-pipeline:
|
test-custom-pipeline:
|
||||||
name: Run Custom Pipeline Example
|
name: Run Custom Pipeline Example
|
||||||
|
|
@ -242,7 +242,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/custom_pipelines/custom_cognify_pipeline_example.py
|
run: uv run python ./examples/python/run_custom_pipeline_example.py
|
||||||
|
|
||||||
test-permissions-example:
|
test-permissions-example:
|
||||||
name: Run Permissions Example
|
name: Run Permissions Example
|
||||||
|
|
@ -268,7 +268,7 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
||||||
run: uv run python ./new-examples/configurations/permissions_example/user_permissions_and_access_control_example.py
|
run: uv run python ./examples/python/permissions_example.py
|
||||||
test_docling_add:
|
test_docling_add:
|
||||||
name: Run Add with Docling Test
|
name: Run Add with Docling Test
|
||||||
runs-on: macos-15
|
runs-on: macos-15
|
||||||
|
|
|
||||||
6
.github/workflows/test_llms.yml
vendored
6
.github/workflows/test_llms.yml
vendored
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
EMBEDDING_MODEL: "gemini/text-embedding-004"
|
EMBEDDING_MODEL: "gemini/text-embedding-004"
|
||||||
EMBEDDING_DIMENSIONS: "768"
|
EMBEDDING_DIMENSIONS: "768"
|
||||||
EMBEDDING_MAX_TOKENS: "8076"
|
EMBEDDING_MAX_TOKENS: "8076"
|
||||||
run: uv run python ./new-examples/demos/simple_default_cognee_pipelines_example.py
|
run: uv run python ./examples/python/simple_example.py
|
||||||
|
|
||||||
test-fastembed:
|
test-fastembed:
|
||||||
name: Run Fastembed Test
|
name: Run Fastembed Test
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
EMBEDDING_MODEL: "sentence-transformers/all-MiniLM-L6-v2"
|
EMBEDDING_MODEL: "sentence-transformers/all-MiniLM-L6-v2"
|
||||||
EMBEDDING_DIMENSIONS: "384"
|
EMBEDDING_DIMENSIONS: "384"
|
||||||
EMBEDDING_MAX_TOKENS: "256"
|
EMBEDDING_MAX_TOKENS: "256"
|
||||||
run: uv run python ./new-examples/demos/simple_default_cognee_pipelines_example.py
|
run: uv run python ./examples/python/simple_example.py
|
||||||
|
|
||||||
test-openrouter:
|
test-openrouter:
|
||||||
name: Run OpenRouter Test
|
name: Run OpenRouter Test
|
||||||
|
|
@ -83,4 +83,4 @@ jobs:
|
||||||
EMBEDDING_MODEL: "openai/text-embedding-3-large"
|
EMBEDDING_MODEL: "openai/text-embedding-3-large"
|
||||||
EMBEDDING_DIMENSIONS: "3072"
|
EMBEDDING_DIMENSIONS: "3072"
|
||||||
EMBEDDING_MAX_TOKENS: "8191"
|
EMBEDDING_MAX_TOKENS: "8191"
|
||||||
run: uv run python ./new-examples/demos/simple_default_cognee_pipelines_example.py
|
run: uv run python ./examples/python/simple_example.py
|
||||||
|
|
|
||||||
2
.github/workflows/test_ollama.yml
vendored
2
.github/workflows/test_ollama.yml
vendored
|
|
@ -101,4 +101,4 @@ jobs:
|
||||||
EMBEDDING_ENDPOINT: "http://localhost:11434/api/embed"
|
EMBEDDING_ENDPOINT: "http://localhost:11434/api/embed"
|
||||||
EMBEDDING_DIMENSIONS: "4096"
|
EMBEDDING_DIMENSIONS: "4096"
|
||||||
HUGGINGFACE_TOKENIZER: "Salesforce/SFR-Embedding-Mistral"
|
HUGGINGFACE_TOKENIZER: "Salesforce/SFR-Embedding-Mistral"
|
||||||
run: uv run python ./new-examples/demos/simple_default_cognee_pipelines_example.py
|
run: uv run python ./examples/python/simple_example.py
|
||||||
|
|
|
||||||
14
.github/workflows/weighted_edges_tests.yml
vendored
14
.github/workflows/weighted_edges_tests.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
||||||
- 'cognee/modules/graph/utils/get_graph_from_model.py'
|
- 'cognee/modules/graph/utils/get_graph_from_model.py'
|
||||||
- 'cognee/infrastructure/engine/models/Edge.py'
|
- 'cognee/infrastructure/engine/models/Edge.py'
|
||||||
- 'cognee/tests/unit/interfaces/graph/test_weighted_edges.py'
|
- 'cognee/tests/unit/interfaces/graph/test_weighted_edges.py'
|
||||||
- 'new-examples/demos/weighted_edges_relationships_example.py'
|
- 'examples/python/weighted_edges_example.py'
|
||||||
- '.github/workflows/weighted_edges_tests.yml'
|
- '.github/workflows/weighted_edges_tests.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, dev ]
|
branches: [ main, dev ]
|
||||||
|
|
@ -15,7 +15,7 @@ on:
|
||||||
- 'cognee/modules/graph/utils/get_graph_from_model.py'
|
- 'cognee/modules/graph/utils/get_graph_from_model.py'
|
||||||
- 'cognee/infrastructure/engine/models/Edge.py'
|
- 'cognee/infrastructure/engine/models/Edge.py'
|
||||||
- 'cognee/tests/unit/interfaces/graph/test_weighted_edges.py'
|
- 'cognee/tests/unit/interfaces/graph/test_weighted_edges.py'
|
||||||
- 'new-examples/demos/weighted_edges_relationships_example.py'
|
- 'examples/python/weighted_edges_example.py'
|
||||||
- '.github/workflows/weighted_edges_tests.yml'
|
- '.github/workflows/weighted_edges_tests.yml'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
@ -128,13 +128,13 @@ jobs:
|
||||||
|
|
||||||
- name: Test Weighted Edges Example
|
- name: Test Weighted Edges Example
|
||||||
run: |
|
run: |
|
||||||
uv run python new-examples/demos/weighted_edges_relationships_example.py
|
uv run python examples/python/weighted_edges_example.py
|
||||||
|
|
||||||
- name: Verify Visualization File Created
|
- name: Verify Visualization File Created
|
||||||
run: |
|
run: |
|
||||||
if [ -f "new-examples/demos/weighted_graph_visualization.html" ]; then
|
if [ -f "examples/python/weighted_graph_visualization.html" ]; then
|
||||||
echo "✅ Visualization file created successfully"
|
echo "✅ Visualization file created successfully"
|
||||||
ls -la new-examples/demos/weighted_graph_visualization.html
|
ls -la examples/python/weighted_graph_visualization.html
|
||||||
else
|
else
|
||||||
echo "❌ Visualization file not found"
|
echo "❌ Visualization file not found"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -159,11 +159,11 @@ jobs:
|
||||||
- name: Run Linting on Weighted Edges Files
|
- name: Run Linting on Weighted Edges Files
|
||||||
uses: astral-sh/ruff-action@v2
|
uses: astral-sh/ruff-action@v2
|
||||||
with:
|
with:
|
||||||
args: "check cognee/modules/graph/utils/get_graph_from_model.py cognee/tests/unit/interfaces/graph/test_weighted_edges.py new-examples/demos/weighted_edges_relationships_example.py"
|
args: "check cognee/modules/graph/utils/get_graph_from_model.py cognee/tests/unit/interfaces/graph/test_weighted_edges.py examples/python/weighted_edges_example.py"
|
||||||
|
|
||||||
- name: Run Formatting Check on Weighted Edges Files
|
- name: Run Formatting Check on Weighted Edges Files
|
||||||
uses: astral-sh/ruff-action@v2
|
uses: astral-sh/ruff-action@v2
|
||||||
with:
|
with:
|
||||||
args: "format --check cognee/modules/graph/utils/get_graph_from_model.py cognee/tests/unit/interfaces/graph/test_weighted_edges.py new-examples/demos/weighted_edges_relationships_example.py"
|
args: "format --check cognee/modules/graph/utils/get_graph_from_model.py cognee/tests/unit/interfaces/graph/test_weighted_edges.py examples/python/weighted_edges_example.py"
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue