Skip to content

Commit

Permalink
Include neo4j service
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Jan 23, 2025
1 parent 9fc426f commit 322a51a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/contrib-graph-rag-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
uv pip install --system pytest
- name: Install Neo4j and Llama-index when on linux
run: |
uv pip install --system -e .[neo4j,test]
uv pip install --system -e .[neo4j_graph_rag,test]
- name: Set AUTOGEN_USE_DOCKER based on OS
shell: bash
run: |
Expand All @@ -109,7 +109,6 @@ jobs:
run: |
uv pip install --system pytest-cov>=5
bash scripts/test-skip-llm.sh test/agentchat/contrib/graph_rag/test_neo4j_graph_rag.py
bash scripts/test.sh -m "neo4j"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test-with-optional-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
runs-on: ${{ matrix.os }}
env:
AUTOGEN_USE_DOCKER: ${{ matrix.os != 'ubuntu-latest' && 'False' }}
services:
neo4j:
image: neo4j:latest
ports:
- 7687:7687
- 7474:7474
env:
NEO4J_AUTH: neo4j/password
strategy:
fail-fast: false
matrix:
Expand All @@ -66,7 +74,7 @@ jobs:
- "retrievechat-mongodb"
- "retrievechat-qdrant"
- "graph-rag-falkor-db"
# - "neo4j"
- "neo4j"
- "twilio"
- "interop"
# exclude:
Expand Down

0 comments on commit 322a51a

Please sign in to comment.