Skip to content

Commit

Permalink
ci: fixes a syntax error in CI (alibaba#3521)
Browse files Browse the repository at this point in the history
  • Loading branch information
sighingnow authored Jan 31, 2024
1 parent 24a25fa commit dc0bee6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hqps-db-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ jobs:
eval ${cmd}
done
-name: Test cypher procedure generation
- name: Test cypher procedure generation
run: |
cd ${GITHUB_WORKSPACE}/flex/bin
./load_plan_and_gen.sh -e=hqps -i=../interactive/examples/modern_graph/get_person_name.cypher -w=/tmp/codegen \
--ir_conf=/workspaces/GraphScope/flex/tests/hqps/engine_config_test.yaml \
--ir_conf=${GITHUB_WORKSPACE}/flex/tests/hqps/engine_config_test.yaml \
--graph_schema_path=../interactive/examples/modern_graph/modern_graph.yaml
./load_plan_and_gen.sh -e=hqps -i=../interactive/examples/modern_graph/count_vertex_num.cypher -w=/tmp/codegen \
--ir_conf=/workspaces/GraphScope/flex/tests/hqps/engine_config_test.yaml \
--ir_conf=${GITHUB_WORKSPACE}/flex/tests/hqps/engine_config_test.yaml \
--graph_schema_path=../interactive/examples/modern_graph/modern_graph.yaml
- name: Run End-to-End cypher adhoc ldbc query test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/local-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ jobs:
# install tensorflow
python3 -m pip install --no-cache-dir pytest pytest-xdist "tensorflow" "pandas" --user
# install pytorch
python3 -m pip install --no-cache-dir "torch" --index-url https://download.pytorch.org/whl/cpu
python3 -m pip install --no-cache-dir "torch" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu
# install java
sudo apt update -y && sudo apt install openjdk-11-jdk -y
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ clean:

client: learning
cd $(CLIENT_DIR) && \
python3 -m pip install ${PIP_ARGS} "torch" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} "torch" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
export PATH=$(PATH):$(HOME)/.local/bin && \
python3 setup.py build_ext --inplace --user && \
Expand All @@ -90,7 +90,7 @@ client: learning

coordinator: client
cd $(COORDINATOR_DIR) && \
python3 -m pip install ${PIP_ARGS} "torch" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} "torch" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
python3 setup.py build_builtin && \
python3 -m pip install --user --editable $(COORDINATOR_DIR) && \
Expand Down Expand Up @@ -174,7 +174,7 @@ $(LEARNING_DIR)/graphlearn/built/lib/libgraphlearn_shared.$(SUFFIX):

prepare-client:
cd $(CLIENT_DIR) && \
pip3 install ${PIP_ARGS} "torch" --index-url https://download.pytorch.org/whl/cpu --user && \
pip3 install ${PIP_ARGS} "torch" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
pip3 install ${PIP_ARGS} -r requirements.txt --user && \
pip3 install ${PIP_ARGS} -r requirements-dev.txt --user && \
python3 setup.py build_proto
Expand Down
4 changes: 2 additions & 2 deletions k8s/internal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ graphscope-manylinux2014-py3:
graphscope-client-manylinux2014-py3-nodocker:
set -euxo pipefail && \
cd $(WORKING_DIR)/../../python && \
python3 -m pip install ${PIP_ARGS} "torch" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} "torch" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
cd $(WORKING_DIR)/../../learning_engine/graph-learn && \
git submodule update --init third_party/pybind11 && \
Expand Down Expand Up @@ -216,7 +216,7 @@ graphscope-client-manylinux2014-py3-nodocker:

graphscope-client-darwin-py3:
cd $(WORKING_DIR)/../../python && \
python3 -m pip install ${PIP_ARGS} "torch" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} "torch" "networkx<=3.0" --index-url https://download.pytorch.org/whl/cpu --user && \
python3 -m pip install ${PIP_ARGS} -r requirements.txt -r requirements-dev.txt --user && \
cd $(WORKING_DIR)/../../learning_engine/graph-learn && \
(git submodule update --init third_party/pybind11 || true) && \
Expand Down

0 comments on commit dc0bee6

Please sign in to comment.