Skip to content

Commit

Permalink
Add GH ACtion to check with GDAL3/PROJ6 #7
Browse files Browse the repository at this point in the history
  • Loading branch information
ateucher committed Feb 4, 2020
1 parent 7100488 commit f97c3aa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
^pkgdown$
^revdep$
^CRAN-RELEASE$
^.github$
23 changes: 23 additions & 0 deletions .github/workflows/R-CMD-check-docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [push, pull_request]

name: R-CMD-check-docker

jobs:
R-CMD-check-docker:
runs-on: ubuntu-latest
container: jakubnowosad/geocompr_proj6
steps:
- uses: actions/checkout@v1

- name: Install dependencies
run: Rscript -e "install.packages('remotes')" -e "remotes::install_deps(dependencies = TRUE)" -e "remotes::install_cran('rcmdcheck')"

- name: Check
run: Rscript -e "rcmdcheck::rcmdcheck(args = '--no-manual', error_on = 'warning', check_dir = 'check')"

- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
with:
name: ${{ runner.os }}-docker-geocompr-results
path: check

0 comments on commit f97c3aa

Please sign in to comment.