mirror of
https://github.com/eddelbuettel/binb
synced 2024-12-22 04:29:59 +01:00
add GitHub Action CI runner using run.sh from r-ci
This commit is contained in:
parent
006e5cb899
commit
d39ef4b812
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
|
Loading…
x
Reference in New Issue
Block a user