From 704f914bbf05776023c50836cc1ac2774e29520d Mon Sep 17 00:00:00 2001 From: yuejiaointel Date: Tue, 21 Jan 2025 17:18:07 -0800 Subject: [PATCH] ci-test: print --- .ci/pipeline/docs.yml | 5 ++--- doc/build-doc.sh | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.ci/pipeline/docs.yml b/.ci/pipeline/docs.yml index 129ada581b..3bb2fbb662 100644 --- a/.ci/pipeline/docs.yml +++ b/.ci/pipeline/docs.yml @@ -67,9 +67,6 @@ jobs: export NO_DIST=1 python setup.py build_ext --inplace --abs-rpath python setup.py build --abs-rpath - export LD_LIBRARY_PATH=$(dirname $(dirname $(which python)))/lib:$LD_LIBRARY_PATH - python -c "import daal4py._daal4py; print('daal4py._daal4py imported successfully')" - python -c "from sklearnex.basic_statistics import BasicStatistics; print('BasicStatistics imported successfully')" displayName: 'Build daal4py/sklearnex' - script: | export LD_LIBRARY_PATH=$(dirname $(dirname $(which python)))/lib:$LD_LIBRARY_PATH @@ -85,6 +82,8 @@ jobs: - script: | export LD_LIBRARY_PATH=$(dirname $(dirname $(which python)))/lib:$LD_LIBRARY_PATH cd doc + python -c "import daal4py._daal4py; print('daal4py._daal4py imported successfully')" + python -c "from sklearnex.basic_statistics import BasicStatistics; print('BasicStatistics imported successfully')" ./build-doc.sh displayName: 'Build scikit-learn-intelex documentation' - script: | diff --git a/doc/build-doc.sh b/doc/build-doc.sh index d0aa4affaa..ce2c47a28f 100755 --- a/doc/build-doc.sh +++ b/doc/build-doc.sh @@ -29,4 +29,4 @@ rsync -a --exclude='daal4py_data_science.ipynb' examples/notebooks/*.ipynb doc/$ # build the documentation cd doc -O="-W" make html \ No newline at end of file +SPHINXOPTS="-W" make html \ No newline at end of file