Skip to content

Commit

Permalink
reactivating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Dec 10, 2024
1 parent 85557c3 commit 3c3aca9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docker/centos7-build
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 3c3aca9

Please sign in to comment.