Unverified Commit a2e5f496 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] replace uses of backticks in test.sh with `$()` (#4519)

parent 926526c8
...@@ -40,9 +40,9 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then ...@@ -40,9 +40,9 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
pip install --user -r requirements.txt pip install --user -r requirements.txt
# check reStructuredText formatting # check reStructuredText formatting
cd $BUILD_DIRECTORY/python-package cd $BUILD_DIRECTORY/python-package
rstcheck --report warning `find . -type f -name "*.rst"` || exit -1 rstcheck --report warning $(find . -type f -name "*.rst") || exit -1
cd $BUILD_DIRECTORY/docs cd $BUILD_DIRECTORY/docs
rstcheck --report warning --ignore-directives=autoclass,autofunction,doxygenfile `find . -type f -name "*.rst"` || exit -1 rstcheck --report warning --ignore-directives=autoclass,autofunction,doxygenfile $(find . -type f -name "*.rst") || exit -1
# build docs # build docs
make html || exit -1 make html || exit -1
if [[ $TASK == "check-links" ]]; then if [[ $TASK == "check-links" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment