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

[ci] fix R linting job (fixes #3873) (#3877)

* [ci] fix R linting job (fixes #3873)

* need to run static analysis

* uncomment CI configs

* Update .ci/test.sh
parent c4b51317
...@@ -44,9 +44,11 @@ if [[ $TASK == "lint" ]]; then ...@@ -44,9 +44,11 @@ if [[ $TASK == "lint" ]]; then
pycodestyle \ pycodestyle \
pydocstyle \ pydocstyle \
r-stringi # stringi needs to be installed separate from r-lintr to avoid issues like 'unable to load shared object stringi.so' 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 \ conda install -q -y -n $CONDA_ENV \
-c conda-forge \ -c conda-forge \
libxml2 \ libxml2 \
"r-xfun>=0.19" \
"r-lintr>=2.0" "r-lintr>=2.0"
pip install --user cpplint mypy pip install --user cpplint mypy
echo "Linting Python code" echo "Linting Python code"
......
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