Skip to content

Commit ec4801c

Browse files
committed
Update test-integration job
1 parent 8982552 commit ec4801c

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

home/jobs/OMERO-test-integration/config.xml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,17 @@
1313
<triggers/>
1414
<concurrentBuild>false</concurrentBuild>
1515
<builders>
16-
<hudson.tasks.Shell>
17-
<command>rm -rf $WORKSPACE/.venv3
18-
python3.11 -m venv $WORKSPACE/.venv3
19-
20-
source $WORKSPACE/.venv3/bin/activate
21-
pip install -U pip setuptools
22-
pip install https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp311-cp311-manylinux_2_28_x86_64.whl
23-
pip install markdown
24-
pip install mox3 pytest pytest-django pytest-xdist pytest-mock
25-
pip install tables
26-
pip install jinja2
27-
pip install PyYAML
28-
pip install omero-py omero-web # Latest in order to stop server.
29-
</command>
30-
</hudson.tasks.Shell>
3116
<hudson.tasks.Shell>
3217
<command>
3318
source /home/settings.env
3419
OMERO_DB_NAME=$JOB_NAME
3520
SRC=$WORKSPACE/src
3621
OMERO_DIST=$SRC/dist
22+
OMERO_ENV=$WORKSPACE/.venv3
3723
export OMERODIR=$OMERO_DIST
3824

39-
if [ -e $OMERO_DIST ]; then
40-
source $WORKSPACE/.venv3/bin/activate
25+
if [ -e $OMERO_ENV ]; then
26+
source $OMERO_ENV/bin/activate
4127
omero admin stop || echo not running
4228
deactivate
4329
sleep 5

0 commit comments

Comments
 (0)