Skip to content

Merge pull request #51 from ropensci/maelle-patch-1 #38

Merge pull request #51 from ropensci/maelle-patch-1

Merge pull request #51 from ropensci/maelle-patch-1 #38

on:
push:
branches:
- main
pull_request:
branches:
- main
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
- name: system dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev libxml2-dev libssl-dev
sudo apt-get install libudunits2-dev libgdal-dev
sudo apt-get install libmagick++-dev libpoppler-cpp-dev
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: covr
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}