2020-12-19 21:35:19 +01: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 15:10:44 +01:00
|
|
|
include:
|
2020-12-19 21:35:19 +01:00
|
|
|
#- {os: macOS-latest}
|
|
|
|
- {os: ubuntu-latest}
|
|
|
|
|
2020-12-25 15:10:44 +01:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-12-19 21:35:19 +01:00
|
|
|
|
|
|
|
steps:
|
2024-01-06 02:02:29 +01:00
|
|
|
- uses: actions/checkout@v4
|
2022-11-01 03:24:23 +01:00
|
|
|
|
2024-06-15 02:23:18 +02:00
|
|
|
- name: Setup
|
|
|
|
uses: eddelbuettel/github-actions/r-ci-setup@master
|
2020-12-19 21:35:19 +01:00
|
|
|
|
|
|
|
- name: Bootstrap
|
2022-11-01 03:24:23 +01:00
|
|
|
run: ./run.sh bootstrap
|
2020-12-19 21:35:19 +01:00
|
|
|
|
|
|
|
- name: Dependencies
|
|
|
|
run: ./run.sh install_all
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
run: ./run.sh run_tests
|
|
|
|
|
|
|
|
#- name: Coverage
|
2020-12-25 15:10:44 +01:00
|
|
|
# if: ${{ matrix.os == 'ubuntu-latest' }}
|
2020-12-19 21:35:19 +01:00
|
|
|
# run: ./run.sh coverage
|