1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 12:39:58 +01:00

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

This commit is contained in:
Dirk Eddelbuettel 2020-12-19 14:35:19 -06:00
parent 006e5cb899
commit d39ef4b812
2 changed files with 43 additions and 0 deletions

39
.github/workflows/ci.yaml vendored Normal file
View File

@ -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

View File

@ -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> 2020-06-10 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Version, Date): Release 0.0.6 * DESCRIPTION (Version, Date): Release 0.0.6