From 61ebe8b6c4848664e15c3465e7e2dbe9ba466af0 Mon Sep 17 00:00:00 2001 From: Gibran Hemani Date: Wed, 13 Mar 2024 00:04:30 +0000 Subject: [PATCH] trying to fix codecov --- .Rbuildignore | 1 + .github/workflows/R-CMD-check.yaml | 3 --- DESCRIPTION | 4 ++-- README.md | 2 +- codecov.yml | 14 ++++++++++++++ 5 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 codecov.yml diff --git a/.Rbuildignore b/.Rbuildignore index c4f1d2c..9d0c9d7 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -10,3 +10,4 @@ ^\.Rproj\.user$ ^cran-comments\.md$ ^CRAN-SUBMISSION$ +^codecov\.yml$ diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 9edc36d..a5ffd72 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -25,14 +25,11 @@ jobs: - {os: macOS-latest, r: 'release'} - {os: windows-latest, r: 'release'} - # Use 3.6 to trigger usage of RTools35 - - {os: windows-latest, r: '3.6'} # Use older ubuntu to maximise backward compatibility - {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-18.04, r: 'release'} - {os: ubuntu-18.04, r: 'oldrel-1'} - - {os: ubuntu-18.04, r: 'oldrel-2'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} diff --git a/DESCRIPTION b/DESCRIPTION index d4bb2e7..d0d1331 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: ieugwasr -Title: R Interface to the OpenGWAS Database API +Title: R Interface to the 'OpenGWAS' Database API Version: 0.1.7 Authors@R: c( person("Gibran", "Hemani", , "g.hemani@bristol.ac.uk", role = c("aut", "cre", "cph"), @@ -11,7 +11,7 @@ Authors@R: c( person("Rita", "Rasteiro", , "rita.rasteiro@bristol.ac.uk", role = "aut", comment = c(ORCID = "0000-0002-4217-3060")) ) -Description: R interface to the OpenGWAS database API. Includes a wrapper +Description: R interface to the 'OpenGWAS' database API. Includes a wrapper to make generic calls to the API, plus convenience functions for specific queries. License: MIT + file LICENSE diff --git a/README.md b/README.md index 63a18d0..70e244c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) [![R build status](https://github.com/MRCIEU/ieugwasr/workflows/R-CMD-check/badge.svg)](https://github.com/MRCIEU/ieugwasr/actions) -[![codecov](https://codecov.io/github/mrcieu/ieugwasr/branch/master/graphs/badge.svg)](https://codecov.io/github/mrcieu/ieugwasr) +[![Codecov test coverage](https://codecov.io/gh/MRCIEU/ieugwasr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/MRCIEU/ieugwasr?branch=master) The [IEU GWAS database](https://gwas.mrcieu.ac.uk/) comprises over 10,000 curated, QC'd and harmonised complete GWAS summary datasets and can be queried using an API. See [here](https://gwas-api.mrcieu.ac.uk/docs) for documentation on the API itself. This R package is a wrapper to make generic calls to the API, plus convenience functions for specific queries. 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