Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vnherdeiro committed Sep 8, 2024
1 parent e82459a commit 3102c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/test-r-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [[ $R_BUILD_TYPE != "cran" ]]; then
fi

# Get details needed for installing R components
R_MAJOR_VERSION=( "${R_VERSION//./ }" )
IFS='.' read -ra R_MAJOR_VERSION <<< "$R_VERSION"
if [[ "${R_MAJOR_VERSION[0]}" == "3" ]]; then
export R_MAC_VERSION=3.6.3
export R_MAC_PKG_URL=${CRAN_MIRROR}/bin/macosx/R-${R_MAC_VERSION}.nn.pkg
Expand Down
4 changes: 2 additions & 2 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
# check reStructuredText formatting
cd "${BUILD_DIRECTORY}/python-package"
find . -type f -name "*.rst" -exec \
rstcheck --report-level warning {} \; || exit 1
rstcheck --report-level warning {} + || exit 1
cd "${BUILD_DIRECTORY}/docs"
find . -type f -name "*.rst" -exec \
rstcheck --report-level warning --ignore-directives=autoclass,autofunction,autosummary,doxygenfile {} \; || exit 1
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 3102c28

Please sign in to comment.