Browse Source

add GitHub Action CI runner using run.sh from r-ci

master
Dirk Eddelbuettel 9 months ago
parent
commit
d39ef4b812
  1. 39
      .github/workflows/ci.yaml
  2. 4
      ChangeLog

39
.github/workflows/ci.yaml

@ -0,0 +1,39 @@
# 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:
config:
#- {os: macOS-latest}
- {os: ubuntu-latest}
runs-on: ${{ matrix.config.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
# run: ./run.sh coverage

4
ChangeLog

@ -1,3 +1,7 @@
2020-12-19 Dirk Eddelbuettel <edd@debian.org>
* .github/workflows/ci.yaml: Add CI runner using r-ci
2020-06-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Release 0.0.6

Loading…
Cancel
Save