Skip to content

Commit 314b5d8

Browse files
committed
Run doctests immediately after building
1 parent 69cee37 commit 314b5d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildconfig/Jenkins/Conda/conda-buildscript

+3
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ rm -rf $BUILD_DIR/ctest_log
145145
# Run the script that handles the build
146146
$SCRIPT_DIR/build $WORKSPACE $CMAKE_PRESET $ENABLE_DOCS $ENABLE_DEV_DOCS $ENABLE_BUILD_CODE $ENABLE_UNIT_TESTS $ENABLE_SYSTEM_TESTS $ENABLE_COVERITY "$EXTRA_CMAKE_FLAGS" $BUILD_THREADS
147147

148+
# Immediately run doc tests
149+
QT_QPA_PLATFORM=offscreen cmake --build . --target docs-doctest -j$BUILD_THREADS > doctest_output.txt
150+
148151
# Run unit and system tests
149152
$SCRIPT_DIR/run-tests $WORKSPACE $ENABLE_SYSTEM_TESTS $ENABLE_UNIT_TESTS $ENABLE_DOCS $ENABLE_DOC_TESTS $BUILD_THREADS $USE_CORE_DUMPS
150153

0 commit comments

Comments
 (0)