Skip to content

Commit

Permalink
Override cli-build to use pytest command directly
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jan 22, 2024
1 parent a11343c commit 67b0f3a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .omeroci/cli-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
source /infra/utils

set -e
set -u
set -x

TARGET=${TARGET:-..}
cd $TARGET

GUESS=${PWD#*omero-cli-*}
PLUGIN=${PLUGIN:-$GUESS}

export OMERO_DIST=${OMERO_DIST:-/opt/omero/server/OMERO.server}
omero $PLUGIN -h

export ICE_CONFIG=${OMERO_DIST}/etc/ice.config
pytest test -vs

0 comments on commit 67b0f3a

Please sign in to comment.