mirror of
https://github.com/eddelbuettel/binb
synced 2025-07-15 13:58:11 +02:00
add GitHub Action CI runner using run.sh from r-ci
This commit is contained in:
parent
006e5cb899
commit
d39ef4b812
2 changed files with 43 additions and 0 deletions
39
.github/workflows/ci.yaml
vendored
Normal file
39
.github/workflows/ci.yaml
vendored
Normal 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
|
|
@ -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…
Add table
Add a link
Reference in a new issue