Skip to content

Commit

Permalink
add GitHub Action CI runner using run.sh from r-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Dec 27, 2020
1 parent 00ccb46 commit 05ed633
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
^.travis.yml$
^docs
^.*\.tar\.gz$
^\.github
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Run CI for R using https://eddelbuettel.github.io/r-ci/

name: ci

on:
push:
pull_request:

env:
USE_BSPM: "true"
_R_CHECK_FORCE_SUGGESTS_: "false"

jobs:
ci:
strategy:
matrix:
include:
#- {os: macOS-latest}
- {os: ubuntu-latest}

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Bootstrap
run: |
curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
chmod 0755 run.sh
./run.sh bootstrap
- name: Dependencies
run: ./run.sh install_all

- name: Test
run: ./run.sh run_tests

#- name: Coverage
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: ./run.sh coverage
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2020-12-27 Dirk Eddelbuettel <[email protected]>

* .github/workflows/ci.yaml: Add CI runner using r-ci

2020-04-09 Dirk Eddelbuettel <[email protected]>

* README.md: Add 'last commit' badge
Expand Down

0 comments on commit 05ed633

Please sign in to comment.