Skip to content

Commit

Permalink
More fixes to occasional CI (#6142)
Browse files Browse the repository at this point in the history
* More fixes to occasional CI

* update cron

* More sys dependencies for sf

* copy installation step from 'sf' GHA to install gdal there

* remove 13-line R CMD check error limit
  • Loading branch information
MichaelChirico authored May 19, 2024
1 parent 2b52437 commit 8f6321e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/R-CMD-check-occasional.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
schedule:
- cron: '17 13 18 * *' # 18th of month at 13:17 UTC
- cron: '17 13 19 * *' # 18th of month at 13:17 UTC

# A more complete suite of checks to run monthly; each PR/merge need not pass all these, but they should pass before CRAN release
name: R-CMD-check-occasional
Expand Down Expand Up @@ -75,11 +75,15 @@ jobs:
with:
r-version: ${{ matrix.r }}

- name: Install check dependencies
if: matrix.os != 'windows-latest' && matrix.os != 'macOS-latest'
- name: Install check dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libudunits2-dev
sudo apt-get install -y libcurl4-openssl-dev libudunits2-dev libgdal-dev libgeos-dev libproj-dev
- name: Install check dependencies (macOS)
if: matrix.os == 'macOS-latest'
run: brew install gdal proj

- name: Query dependencies
run: |
Expand Down Expand Up @@ -115,7 +119,10 @@ jobs:

- name: Check
env:
# several Suggests dependencies have R dependencies more recent than ours
_R_CHECK_FORCE_SUGGESTS_: false
_R_CHECK_CRAN_INCOMING_REMOTE_: false
_R_CHECK_TESTS_NLINES_: 0
run: |
options(crayon.enabled = TRUE)
Expand Down

0 comments on commit 8f6321e

Please sign in to comment.