Skip to content

Commit

Permalink
Disable pytest for this repo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joshmoore committed Nov 15, 2019
1 parent 1e67951 commit 8f38710
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .omeroci/app-build
Original file line number Diff line number Diff line change
@@ -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
echo Tests currently disabled
exit 1
fi

0 comments on commit 8f38710

Please sign in to comment.