Skip to content

Commit 4e64166

Browse files
committed
CI: build openms-insight from source before tests (mirrors Dockerfile)
1 parent f09bfd0 commit 4e64166

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,22 @@ jobs:
1515
- uses: actions/setup-python@v4
1616
with:
1717
python-version: ${{ matrix.python-version }}
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: "21"
1821

1922
- name: Install dependencies
2023
run: |
2124
python -m pip install --upgrade pip
25+
# OpenMS-Insight (Phase-3) is not on PyPI: build it from the migration branch
26+
# (Vue bundle + Python) and install from source -- mirrors the Dockerfiles.
27+
git clone -b claude/kind-heisenberg-u6dVm --single-branch --depth 1 \
28+
https://github.com/t0mdavid-m/openms-insight.git /tmp/openms-insight
29+
( cd /tmp/openms-insight/js-component && npm install && npm run build )
30+
mkdir -p /tmp/openms-insight/openms_insight/js-component
31+
cp -r /tmp/openms-insight/js-component/dist \
32+
/tmp/openms-insight/openms_insight/js-component/dist
33+
pip install /tmp/openms-insight
2234
pip install -r requirements.txt # test with requirements file so can easily bump with dependabot
2335
pip install pytest fakeredis
2436
- name: Test

0 commit comments

Comments
 (0)