Skip to content

add .gitattributes to ignore HTML in Languages overview #40

add .gitattributes to ignore HTML in Languages overview

add .gitattributes to ignore HTML in Languages overview #40

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
workflow_dispatch:
name: test-coverage
jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: covr
- name: Test coverage
run: |
Sys.setenv(NOT_CRAN = "true") # ensure all tests are recognised
covr::codecov()
shell: Rscript {0}