Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests still disabled #84

Open
joshmoore opened this issue Feb 24, 2021 · 0 comments
Open

Tests still disabled #84

joshmoore opened this issue Feb 24, 2021 · 0 comments

Comments

@joshmoore
Copy link
Member

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

commit 8f38710a90de8f38ab716c758b8dc575d9e0fa27 (HEAD, will/django_1.9)
Author: jmoore <[email protected]>
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
+   echo Tests currently disabled
+   exit 1
+fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant