Skip to content

Commit

Permalink
ci: play with setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Sep 22, 2021
1 parent 4a7a527 commit 4745eb9
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ on: [push]

jobs:
build_r:
runs-on: ubuntu-20.04
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: https://demo.rstudiopm.com/all/__linux__/xenial/latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v1
with:
r-version: 3.6
- uses: r-lib/actions/setup-pandoc@v1
- uses: actions/setup-node@v2
with:
node-version: 14
Expand All @@ -31,6 +24,10 @@ jobs:
${{ runner.os }}-yarn2-v4
- run: yarn install
- run: yarn build
- uses: r-lib/actions/setup-r@v1
with:
use-public-rspm: true
- uses: r-lib/actions/setup-pandoc@v1
- name: Cache R packages
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -72,8 +69,6 @@ jobs:
run: devtools::check('r_package', args = c("--no-manual", "--as-cran"), error_on = "error", check_dir = "check")

- name: Test
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
shell: Rscript {0}
run: devtools::test('r_package')

Expand Down

0 comments on commit 4745eb9

Please sign in to comment.