Skip to content

Commit c4c5480

Browse files
ci: Install Python dependencies including PyTorch for GraphSAGE tests
- Add Python 3.9 setup step using actions/setup-python@v4 - Install requirements from geaflow-dsl-plan/src/main/resources/requirements.txt - Include pip cache to speed up subsequent builds - Verify torch installation with pip list - Enable full GraphSAGE integration tests in CI This ensures all Python dependencies (torch, numpy, etc.) are available for running the GraphSAGE integration tests, preventing ModuleNotFoundError failures in CI.
1 parent fadd0f8 commit c4c5480

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,17 @@ jobs:
7777
with:
7878
version: "21.7"
7979

80+
- name: Set up Python
81+
uses: actions/setup-python@v4
82+
with:
83+
python-version: '3.9'
84+
cache: 'pip'
85+
86+
- name: Install Python dependencies
87+
run: |
88+
python -m pip install --upgrade pip
89+
pip install -r geaflow/geaflow-dsl/geaflow-dsl-plan/src/main/resources/requirements.txt
90+
pip list | grep -i torch
91+
8092
- name: Build and Test On JDK 8
8193
run: mvn -B -e clean test -Pjdk8 -Duser.timezone=Asia/Shanghai -Dlog4j.configuration="log4j.rootLogger=WARN, stdout"

0 commit comments

Comments
 (0)