Skip to content

Commit

Permalink
Merge pull request #46 from nebula-contrib/uplift_3_8_0
Browse files Browse the repository at this point in the history
  • Loading branch information
wey-gu authored May 23, 2024
2 parents 6104f6a + 847831b commit dcab53b
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 65 deletions.
47 changes: 37 additions & 10 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,25 @@ jobs:
- name: Install Dependencies
run: |
if grep -qEi "debian|buntu" /etc/*release; then
apt-get update && apt-get install python3-pip curl -y
apt-get update && apt-get install python3-pip curl python3-venv -y
else
yum update -y && yum install python3-pip which -y
dnf update -y && dnf install python3 python3-pip which -y
fi
- name: Setup virtual environment
run: |
python3 -m venv venv
. venv/bin/activate
- name: Install NebulaGraph-Lite
run: pip3 install .
run: |
. venv/bin/activate
pip3 install .
- name: Run NebulaGraph-Lite in container
run: nebulagraph --debug --container start
run: |
. venv/bin/activate
nebulagraph --debug --container start
e2e-jupyter-notebook:
runs-on: ubuntu-22.04
Expand All @@ -92,15 +102,24 @@ jobs:
- name: Install Dependencies
run: |
if grep -qEi "debian|buntu" /etc/*release; then
apt-get update && apt-get install python3-pip curl -y
apt-get update && apt-get install python3-pip curl python3-venv -y
else
yum update -y && yum install python3-pip which -y
yum update -y && yum install python3-pip which python3-virtualenv -y
fi
- name: Setup virtual environment
run: |
python3 -m venv venv
. venv/bin/activate
- name: Install NebulaGraph-Lite
run: pip3 install .
run: |
. venv/bin/activate
pip3 install .
- name: Run Jupyter e2e test
run: |
. venv/bin/activate
pip3 install notebook nbconvert
jupyter nbconvert --to notebook --execute tests/e2e/jupyter/jupyter_test.ipynb
Expand All @@ -118,16 +137,24 @@ jobs:
- name: Install Dependencies
run: |
if grep -qEi "debian|buntu" /etc/*release; then
apt-get update && apt-get install python3-pip curl -y
apt-get update && apt-get install python3-pip curl python3-venv -y
else
yum update -y && yum install python3-pip which -y
yum update -y && yum install python3-pip which python3-virtualenv -y
fi
- name: Setup virtual environment
run: |
python3 -m venv venv
. venv/bin/activate
- name: Install NebulaGraph-Lite
run: pip3 install .
run: |
. venv/bin/activate
pip3 install .
- name: Run ModelScope e2e test
run: |
. venv/bin/activate
pip3 install notebook nbconvert modelscope
jupyter nbconvert --to notebook --execute tests/e2e/jupyter/modelscope_test.ipynb
Expand Down
Loading

0 comments on commit dcab53b

Please sign in to comment.