Skip to content

Initial version

Initial version #1

Workflow file for this run

name: Run test.R
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Setup renv
uses: r-lib/actions/setup-renv@v2
- name: Restore packages with renv
run: Rscript -e 'renv::restore()'
- name: Run test.R
run: |
Rscript test.R