ome / omero-parade

OMERO.web plugin for displaying Dataset thumbnails or Plates in webclient center panel
GNU Affero General Public License v3.0
1 stars 12 forks source link

Tests still disabled #84

Open joshmoore opened 3 years ago

joshmoore commented 3 years ago

While cleaning up directories from the Python 3 migration, I ran across 8f38710a90de8f38ab716c758b8dc575d9e0fa27:

commit 8f38710a90de8f38ab716c758b8dc575d9e0fa27 (HEAD, will/django_1.9)
Author: jmoore <josh@glencoesoftware.com>
Date:   Fri Nov 15 14:12:45 2019 +0000

    Disable pytest for this repo

    For some reason, on travis, three "tests" are failing:
data_providers (unittest.loader._FailedTest) ... ERROR
omero_filters (unittest.loader._FailedTest) ... ERROR
data_providers (unittest.loader._FailedTest) ... ERROR
```

but not locally. For the moment, disabling pytest. When/if
a `test/` directory is created, the script will fail.

diff --git a/.omeroci/app-build b/.omeroci/app-build new file mode 100755 index 0000000..3992193 --- /dev/null +++ b/.omeroci/app-build @@ -0,0 +1,19 @@ +#!/bin/bash + +source /infra/utils + +set -e +set -u +set -x + +cd $TARGET +DIR=$(setup_dir) + +export DJANGO_SETTINGS_MODULE=omeroweb.settings +export OMERODIR=/opt/omero/web/OMERO.web +export ICE_CONFIG=${OMERO_DIST}/etc/ice.config + +if [ -e test ]; then