From 1766716c679a590a345479da3577a6fa82fd1b9b Mon Sep 17 00:00:00 2001 From: Sam Abbott Date: Mon, 7 Feb 2022 09:58:36 +0000 Subject: [PATCH] add covrignore --- .Rbuildignore | 1 + .covrignore | 22 ++++++++++++++++++++++ .github/workflows/test-coverage.yaml | 8 +------- 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 .covrignore diff --git a/.Rbuildignore b/.Rbuildignore index 02ff1897..c1c0b9df 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -29,3 +29,4 @@ SMG.md ^inst/examples$ ^\.devcontainer$ ^CRAN-SUBMISSION$ +^\.covrignore$ \ No newline at end of file diff --git a/.covrignore b/.covrignore new file mode 100644 index 00000000..be912491 --- /dev/null +++ b/.covrignore @@ -0,0 +1,22 @@ +R/Belgium.R +R/Canada.R +R/Colombia.R +R/Covid19DataHub.R +R/Cuba.R +R/ECDC.R +R/Estonia.R +R/France.R +R/Germany.R +R/Google.R +R/India.R +R/Italy.R +R/JHU.R +R/JRC.R +R/Lithuania.R +R/Mexico.R +R/Netherlands.R +R/SouthAfrica.R +R/Switzerland.R +R/UK.R +R/USA.R +R/WHO.R diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 6b8ce7b7..d6285660 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -27,11 +27,5 @@ jobs: - name: Test coverage run: | - covr::codecov(function_exclusions = c( - "Belgium", "Brazil", "Canada", "Colombia", - "Covid19DataHub", "Cuba", "ECDC", "Estonia", - "France", "Germany", "Google", "India", "Italy", - "JHU", "JRC", "Lithuania", "Mexico", "Netherlands", - "SouthAfrica", "Switzerland", "UK", "USA", "WHO" - )) + covr::codecov() shell: Rscript {0}