Skip to content
Snippets Groups Projects
Commit 1f326f68 authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

[ci] Use CI_PROJECT_DIR variable

parent a35f4c6e
No related branches found
No related tags found
3 merge requests!19Fix Issues when running tests on the CI,!18Update tests,!16Make square centre-padding a model transform
Pipeline #84146 failed
...@@ -10,18 +10,11 @@ include: ...@@ -10,18 +10,11 @@ include:
variables: variables:
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
GIT_SUBMODULE_DEPTH: 1 GIT_SUBMODULE_DEPTH: 1
XDG_CONFIG_HOME: tests/config XDG_CONFIG_HOME: $CI_PROJECT_DIR/tests/data
documentation:
before_script:
# for opencv-python dependence
- apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null
- !reference [.snippets, doc-prepare]
tests: tests:
before_script: before_script:
# for opencv-python dependence - ls /idiap/resource/database/*
- if [ "$TAG" == "docker" ]; then apt-get update && apt-get install -y libgl1-mesa-glx > /dev/null; fi
# for pytorch quirks on linux # for pytorch quirks on linux
- if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1 - if [ "$TAG" == "docker" ]; then export OMP_NUM_THREADS=1; fi # Set the number of threads used to 1
- !reference [.snippets, test-prepare] - !reference [.snippets, test-prepare]
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment