Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vnherdeiro committed Sep 7, 2024
1 parent 3215be9 commit e82459a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,11 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
source activate $CONDA_ENV
# check reStructuredText formatting
cd "${BUILD_DIRECTORY}/python-package"
rstcheck --report-level warning "$(find . -type f -name "*.rst")" || exit 1
find . -type f -name "*.rst" -exec \
rstcheck --report-level warning {} \; || exit 1
cd "${BUILD_DIRECTORY}/docs"
rstcheck --report-level warning --ignore-directives=autoclass,autofunction,autosummary,doxygenfile "$(find . -type f -name "*.rst")" || exit 1
find . -type f -name "*.rst" -exec \
rstcheck --report-level warning --ignore-directives=autoclass,autofunction,autosummary,doxygenfile {} \; || exit 1
# build docs
make html || exit 1
if [[ $TASK == "check-links" ]]; then
Expand Down

0 comments on commit e82459a

Please sign in to comment.