Skip to content

Commit

Permalink
[ci] fix R linting job (fixes #3873) (#3877)
Browse files Browse the repository at this point in the history
* [ci] fix R linting job (fixes #3873)

* need to run static analysis

* uncomment CI configs

* Update .ci/test.sh
  • Loading branch information
jameslamb authored Jan 28, 2021
1 parent c4b5131 commit 6c9d0c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ if [[ $TASK == "lint" ]]; then
pycodestyle \
pydocstyle \
r-stringi # stringi needs to be installed separate from r-lintr to avoid issues like 'unable to load shared object stringi.so'
# r-xfun below has to be upgraded because lintr requires > 0.19 for that package
conda install -q -y -n $CONDA_ENV \
-c conda-forge \
libxml2 \
"r-xfun>=0.19" \
"r-lintr>=2.0"
pip install --user cpplint mypy
echo "Linting Python code"
Expand Down

0 comments on commit 6c9d0c3

Please sign in to comment.