neonetb v1 & neonet v2 #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: R-CMD-check | |
jobs: | |
R-CMD-check: | |
runs-on: ubuntu-latest | |
env: | |
# use GITHUB_TOKEN from GitHub to workaround rate limits in {remotes} | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
# This ensures that errors get srcrefs | |
R_KEEP_PKG_SOURCE: yes | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
# Use the public version of RStudio package manager to serve binaries for Linux and Windows | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: | | |
any::rcmdcheck | |
any::covr | |
- uses: r-lib/actions/check-r-package@v2 | |
- name: Test coverage | |
run: covr::codecov() | |
shell: Rscript {0} |