Skip to content

Commit 28f599d

Browse files
committed
Refactor DataLab installation process: Update cloning logic and restore installation steps for development versions
1 parent b96278b commit 28f599d

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,26 @@ jobs:
5151
5252
- name: Install DataLab and dependencies
5353
run: |
54+
# TODO: Restore PyPI installation for main branch once feature/webapi is merged
55+
# Clone and install development versions (using feature/webapi branch)
56+
cd ..
57+
git clone --depth 1 https://github.com/PlotPyStack/PythonQwt.git
5458
if [ "${{ github.ref_name }}" = "develop" ]; then
55-
# Clone and install development versions
56-
cd ..
57-
git clone --depth 1 https://github.com/PlotPyStack/PythonQwt.git
5859
git clone --depth 1 --branch develop https://github.com/PlotPyStack/guidata.git
5960
git clone --depth 1 --branch develop https://github.com/PlotPyStack/plotpy.git
6061
git clone --depth 1 --branch develop https://github.com/DataLab-Platform/sigima.git
61-
# TODO: Switch back to 'develop' branch once feature/webapi is merged
62-
git clone --depth 1 --branch feature/webapi https://github.com/DataLab-Platform/DataLab.git
63-
cd DataLab-Kernel
64-
pip install -e ../guidata
65-
pip install -e ../PythonQwt
66-
pip install -e ../plotpy
67-
pip install -e ../sigima
68-
pip install -e ../DataLab
6962
else
70-
# Install from PyPI for main branch
71-
pip install datalab-platform
63+
git clone --depth 1 https://github.com/PlotPyStack/guidata.git
64+
git clone --depth 1 https://github.com/PlotPyStack/plotpy.git
65+
git clone --depth 1 https://github.com/DataLab-Platform/sigima.git
7266
fi
67+
git clone --depth 1 --branch feature/webapi https://github.com/DataLab-Platform/DataLab.git
68+
cd DataLab-Kernel
69+
pip install -e ../guidata
70+
pip install -e ../PythonQwt
71+
pip install -e ../plotpy
72+
pip install -e ../sigima
73+
pip install -e ../DataLab
7374
7475
- name: Install DataLab-Kernel
7576
run: |

0 commit comments

Comments
 (0)