Skip to content

Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.1 (#282) #356

Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.1 (#282)

Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.1 (#282) #356

# Run tests with `options(warn = 2)` to fail on test warnings
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
# * is a special character in YAML so you have to quote this string
# Trigger once a week at 00:00 on Sunday
- cron: "0 0 * * SUN"
name: check-test-warnings
jobs:
check-test-warnings:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: "devel"
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: "TRUE"
extra-packages: |
local::.
any::devtools
- name: Run Tests
run: |
options(crayon.enabled = TRUE, warn = 2L)
devtools::test()
shell: Rscript {0}