diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5e0debc468ac6926efc5ac3ae5139f3dce2a2dd..e46cf020839a2b42aac250775920ed53954e59cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,18 +10,11 @@ include: variables: GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_DEPTH: 1 - XDG_CONFIG_HOME: tests/config - -documentation: - before_script: - # for opencv-python dependence - - apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null - - !reference [.snippets, doc-prepare] + XDG_CONFIG_HOME: $CI_PROJECT_DIR/tests/data tests: before_script: - # for opencv-python dependence - - if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi + - ls /idiap/resource/database/* # for pytorch quirks on linux - if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1 - !reference [.snippets, test-prepare] diff --git a/tests/config/mednet.toml b/tests/data/mednet.toml similarity index 100% rename from tests/config/mednet.toml rename to tests/data/mednet.toml