From 3f0b802197400ced9f3bf5a557d1820ad69b4a77 Mon Sep 17 00:00:00 2001 From: Kenneth Benoit Date: Wed, 24 Jan 2024 16:52:16 +0100 Subject: [PATCH] Update CI --- .Rbuildignore | 1 + .github/workflows/R-CMD-check.yaml | 4 ++-- README.Rmd | 1 + README.md | 2 ++ codecov.yml | 14 ++++++++++++++ 5 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/.Rbuildignore b/.Rbuildignore index 339f3ed..04a5579 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,3 +9,4 @@ ^CRAN-RELEASE$ ^revdep$ ^CRAN-SUBMISSION$ +^codecov\.yml$ diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 52c2b27..a3ac618 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: config: - - {os: macOS-latest, r: 'release'} + - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-latest, r: 'release'} @@ -29,7 +29,7 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: r-lib/actions/setup-pandoc@v2 diff --git a/README.Rmd b/README.Rmd index c2361fc..0cdc995 100644 --- a/README.Rmd +++ b/README.Rmd @@ -24,6 +24,7 @@ library("badger") [![codecov](https://codecov.io/gh/quanteda/quanteda.textplots/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textplots) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00774/status.svg)](https://doi.org/10.21105/joss.00774) +[![Codecov test coverage](https://codecov.io/gh/quanteda/quanteda.textplots/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textplots?branch=master) ## About diff --git a/README.md b/README.md index 4254c75..611c80f 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ Downloads](https://cranlogs.r-pkg.org/badges/grand-total/quanteda.textplots?colo [![codecov](https://codecov.io/gh/quanteda/quanteda.textplots/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textplots) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00774/status.svg)](https://doi.org/10.21105/joss.00774) +[![Codecov test +coverage](https://codecov.io/gh/quanteda/quanteda.textplots/branch/master/graph/badge.svg)](https://app.codecov.io/gh/quanteda/quanteda.textplots?branch=master) ## About diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..04c5585 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,14 @@ +comment: false + +coverage: + status: + project: + default: + target: auto + threshold: 1% + informational: true + patch: + default: + target: auto + threshold: 1% + informational: true