You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by th...@apache.org on 2022/05/17 09:18:05 UTC

[arrow] branch master updated: ARROW-16541: [R] [CI] Reduce the number of times lintr is run

This is an automated email from the ASF dual-hosted git repository.

thisisnic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 52a051b1f0 ARROW-16541: [R] [CI] Reduce the number of times lintr is run
52a051b1f0 is described below

commit 52a051b1f01669647d8f4d16d7de30c10265dc51
Author: Dragoș Moldovan-Grünfeld <dr...@gmail.com>
AuthorDate: Tue May 17 10:17:53 2022 +0100

    ARROW-16541: [R] [CI] Reduce the number of times lintr is run
    
    This PR will reduce the number of times `lintr::lint_package()` is being run to 1 (run only on the current release). At present it runs on each branch of the Windows CI workflows.
    
    Closes #13162 from dragosmg/run_lintr_once
    
    Authored-by: Dragoș Moldovan-Grünfeld <dr...@gmail.com>
    Signed-off-by: Nic Crane <th...@gmail.com>
---
 .github/workflows/r.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index 0997da06a7..19abac5bb2 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -384,7 +384,8 @@ jobs:
             timeout = 3600
           )
       - name: Run lintr
-        env: 
+        if: ${{ matrix.config.rversion == '4.1' }}
+        env:
           NOT_CRAN: "true"
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         shell: Rscript {0}