Skip to content

Commit 243f547

Browse files
authored
fix: fusiform_similarity test in traverser for server 1.3.0 (#37)
1 parent f9fb45f commit 243f547

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/hugegraph-python-client.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
strategy:
13+
fail-fast: false
1314
matrix:
14-
python-version: ["3.8", "3.9", "3.10", "3.11"]
15+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1516
steps:
16-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1718
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
1920
with:
2021
python-version: ${{ matrix.python-version }}
2122
cache: 'pip'
@@ -26,7 +27,7 @@ jobs:
2627
pip install -r ./hugegraph-python-client/requirements.txt
2728
- name: Prepare HugeGraph Server Environment
2829
run: |
29-
docker run -d --name=graph -p 8080:8080 -e PASSWORD=admin hugegraph/hugegraph:1.2.0
30+
docker run -d --name=graph -p 8080:8080 -e PASSWORD=admin hugegraph/hugegraph:1.3.0
3031
sleep 20
3132
- name: Test example
3233
run: |

hugegraph-python-client/src/tests/api/test_traverser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_traverser_operations(self):
208208
],
209209
)
210210

211-
sources = {"ids": [marko], "label": "person", "properties": {}}
211+
sources = {"ids": [marko]}
212212
fusiform_similarity_result = self.traverser.fusiform_similarity(
213213
sources,
214214
label="knows",

0 commit comments

Comments
 (0)