[R] [ci] move linting code out of package (#8545)

This commit is contained in:
James Lamb
2022-12-06 14:18:17 -05:00
committed by GitHub
parent e38fe21e0d
commit 05fc6f3ca9
5 changed files with 75 additions and 78 deletions

View File

@@ -43,10 +43,9 @@ jobs:
- name: Run lintr
run: |
cd R-package
MAKEFLAGS="-j$(nproc)" R CMD INSTALL .
MAKEFLAGS="-j$(nproc)" R CMD INSTALL R-package/
# Disable lintr errors for now: https://github.com/dmlc/xgboost/issues/8012
Rscript tests/helper_scripts/run_lint.R || true
Rscript tests/ci_build/lint_r.R $(pwd) || true
test-R-on-Windows:
runs-on: ${{ matrix.config.os }}