Skip to content

Commit

Permalink
skip inspire tests from CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jun 10, 2024
1 parent f45df70 commit 320362e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ cfg_file = system.file("extdata/workflows/config_metadata_gsheets_iso19115_inspi

#init
test_that("init",{
testthat::skip_on_cran()
CFG <- geoflow::initWorkflow(cfg_file)
expect_is(CFG$metadata$content, "list")
expect_equal(length(CFG$metadata$content), 2L)
Expand All @@ -27,6 +28,7 @@ test_that("init",{

#debug
test_that("debug",{
testthat::skip_on_cran()
DEBUG <- geoflow::debugWorkflow(cfg_file, entityIndex = 1, dir = ".")
expect_equal(names(DEBUG), c("config", "entity"))
expect_is(DEBUG$config, "list")
Expand All @@ -35,6 +37,7 @@ test_that("debug",{

#execute
test_that("execute",{
testthat::skip_on_cran()
EXEC <- geoflow::executeWorkflow(cfg_file, dir = ".")
expect_true(dir.exists(EXEC))
expect_true(file.exists(file.path(EXEC, "job.json")))
Expand Down

0 comments on commit 320362e

Please sign in to comment.