Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
a2e5f496
Unverified
Commit
a2e5f496
authored
Aug 14, 2021
by
James Lamb
Committed by
GitHub
Aug 14, 2021
Browse files
[ci] replace uses of backticks in test.sh with `$()` (#4519)
parent
926526c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.ci/test.sh
.ci/test.sh
+2
-2
No files found.
.ci/test.sh
View file @
a2e5f496
...
...
@@ -40,9 +40,9 @@ if [[ $TASK == "check-docs" ]] || [[ $TASK == "check-links" ]]; then
pip
install
--user
-r
requirements.txt
# check reStructuredText formatting
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
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
make html
||
exit
-1
if
[[
$TASK
==
"check-links"
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment