2020-12-19 14:35:19 -06:00
|
|
|
# Run CI for R using https://eddelbuettel.github.io/r-ci/
|
|
|
|
|
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
env:
|
|
|
|
_R_CHECK_FORCE_SUGGESTS_: "false"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-12-25 08:10:44 -06:00
|
|
|
include:
|
2020-12-19 14:35:19 -06:00
|
|
|
#- {os: macOS-latest}
|
|
|
|
- {os: ubuntu-latest}
|
|
|
|
|
2020-12-25 08:10:44 -06:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-12-19 14:35:19 -06:00
|
|
|
|
|
|
|
steps:
|
2024-01-05 19:02:29 -06:00
|
|
|
- uses: actions/checkout@v4
|
2022-10-31 21:24:23 -05:00
|
|
|
|
2024-06-14 19:23:18 -05:00
|
|
|
- name: Setup
|
2024-12-17 16:42:30 -06:00
|
|
|
uses: eddelbuettel/github-actions/r-ci@master
|
2020-12-19 14:35:19 -06:00
|
|
|
|
|
|
|
- name: Dependencies
|
|
|
|
run: ./run.sh install_all
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
run: ./run.sh run_tests
|
|
|
|
|
|
|
|
#- name: Coverage
|
2020-12-25 08:10:44 -06:00
|
|
|
# if: ${{ matrix.os == 'ubuntu-latest' }}
|
2020-12-19 14:35:19 -06:00
|
|
|
# run: ./run.sh coverage
|