Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uplift: 3.8.0 #46

Merged
merged 4 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading