mirror of
https://github.com/eddelbuettel/binb
synced 2024-12-22 12:39:58 +01:00
37 lines
633 B
YAML
37 lines
633 B
YAML
# 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:
|
|
include:
|
|
#- {os: macOS-latest}
|
|
- {os: ubuntu-latest}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup
|
|
uses: eddelbuettel/github-actions/r-ci@master
|
|
|
|
- name: Dependencies
|
|
run: ./run.sh install_all
|
|
|
|
- name: Test
|
|
run: ./run.sh run_tests
|
|
|
|
#- name: Coverage
|
|
# if: ${{ matrix.os == 'ubuntu-latest' }}
|
|
# run: ./run.sh coverage
|