Speedup R test on github. (#8388)

This commit is contained in:
Jiaming Yuan
2022-10-26 18:02:27 +08:00
committed by GitHub
parent 786aa27134
commit a2593e60bf
2 changed files with 7 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ jobs:
- name: Run lintr
run: |
cd R-package
R CMD INSTALL .
MAKE="make -j$(nproc)" R CMD INSTALL .
# Disable lintr errors for now: https://github.com/dmlc/xgboost/issues/8012
Rscript tests/helper_scripts/run_lint.R || true