Skip to content

Commit

Permalink
make ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorbmon committed Sep 17, 2024
1 parent ad99ba9 commit 0e9da79
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ jobs:
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- uses: ikalnytskyi/action-setup-postgres@v6
with:
username: test
password: test
database: test
port: 12345
postgres-version: "14"
ssl: "on"
id: postgres
- name: Build and Test
run: |
python -m pytest -o log_cli=true -o log_cli_level="INFO" --cov=nano_graphrag --cov-report=xml -v ./
Expand Down
2 changes: 1 addition & 1 deletion tests/test_asyncpg_vector_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import asyncpg
from nano_graphrag.graphrag import always_get_an_event_loop
WORKING_DIR = "nano_graphrag_cache_asyncpg_vector_storage_test"
dsn='postgresql://username:password@127.0.0.1:12345/db'
dsn='postgresql://test:test@127.0.0.1:12345/test'

@pytest.fixture(scope="function")
def setup_teardown():
Expand Down

0 comments on commit 0e9da79

Please sign in to comment.