diff --git a/docker/centos7-build b/docker/centos7-build index 8411da27f..d7b04718e 100644 --- a/docker/centos7-build +++ b/docker/centos7-build @@ -84,18 +84,18 @@ RUN source /opt/rh/devtoolset-11/enable && \ cmake --build _build --config Release -j${NPROC} &&\ ccache -s # tests -#RUN export PATH=/root/miniconda3/condabin:$PATH && \ -# XPRESS_DIR=/root/miniconda3/lib/python3.8/site-packages/xpress && \ -# export XPRESSDIR=$XPRESS_DIR \ -# export XPAUTH_PATH=$XPRESS_DIR/license/community-xpauth.xpr && \ -# echo "Create symbolic link for XPRESS library file because it is missing in the Python installation" && \ -# ln -s $XPRESS_DIR/lib/libxprs.so.42 $XPRESS_DIR/lib/libxprs.so && \ -# export PATH="/workspace/antares-xpansion/_build/vcpkg_installed/x64-linux-release/tools/openmpi/bin:$PATH" && \ -# pushd tests/end_to_end && \ -# behave --tags ~@flaky cucumber/features --no-capture --no-capture-stderr --format pretty && \ -# popd && \ -# cd _build && \ -# ctest -C Release --output-on-failure -L "unit|benders|lpnamer|medium" +RUN export PATH=/root/miniconda3/condabin:$PATH && \ + XPRESS_DIR=/root/miniconda3/lib/python3.8/site-packages/xpress && \ + export XPRESSDIR=$XPRESS_DIR \ + export XPAUTH_PATH=$XPRESS_DIR/license/community-xpauth.xpr && \ + echo "Create symbolic link for XPRESS library file because it is missing in the Python installation" && \ + ln -s $XPRESS_DIR/lib/libxprs.so.42 $XPRESS_DIR/lib/libxprs.so && \ + export PATH="/workspace/antares-xpansion/_build/vcpkg_installed/x64-linux-release/tools/openmpi/bin:$PATH" && \ + pushd tests/end_to_end && \ + behave --tags ~@flaky cucumber/features --no-capture --no-capture-stderr --format pretty && \ + popd && \ + cd _build && \ + ctest -C Release --output-on-failure -L "unit|benders|lpnamer|medium" # Install RUN cd _build && \ cmake --install .