Skip to content

Commit

Permalink
Install standard ci.yaml for r2u use
Browse files Browse the repository at this point in the history
Added extra paragraph with 'install_all' to explicitly install suggested
dependencies as well as actual dependencies

Additional blocks or commands can be added, if needed, as usual via shell or
Rscript snippet
  • Loading branch information
eddelbuettel committed May 26, 2024
1 parent 27a2c6d commit 53736d6
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: eddelbuettel/github-actions/r-ci-setup@master

- name: Bootstrap
run: ./run.sh bootstrap

#- name: Dependencies
# run: ./run.sh install_deps

- name: All Dependencies
run: ./run.sh install_all

- name: Test
run: ./run.sh run_tests

#- name: Coverage
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: ./run.sh coverage

0 comments on commit 53736d6

Please sign in to comment.