Skip to content

Commit

Permalink
exclude tests from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
fbenke-pik committed Oct 9, 2024
1 parent 5281b25 commit 8c68ebc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-addSubvariable.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

skip_on_covr()

test_that(".addSubvariable works", {
int2ext <- c("Price|Final Energy (US$2017/GJ)" = "FE (EJ)")
int2extafter <- c("Price|Final Energy (US$2017/GJ)" = "FE (EJ)",
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-compareScenConf.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_on_covr()

test_that("Check compareScenConf", {
filemain <- file.path(tempdir(), "main.gms")
writeLines(c('Parameter start "start" / 5 /;', 'start = 5;',
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-convGDX2mif.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_on_covr()

# uncomment to skip test
# skip("Skip GDX test")

Expand Down

0 comments on commit 8c68ebc

Please sign in to comment.