Skip to content

Commit

Permalink
skip slow tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Dec 17, 2024
1 parent b517cfd commit d36d386
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/testthat/test_00_plot_nhdplus.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
source(system.file("extdata/sample_data.R", package = "nhdplusTools"))

test_that("tile_cache_dir", {
testthat::skip_on_ci()
testthat::skip_on_cran()
dir <- nhdplusTools:::tile_cache_dir()

Expand All @@ -25,6 +26,7 @@ test_that("tile_cache_dir", {
})

test_that("test_as_outlets", {
testthat::skip_on_ci()
expect_equal(nhdplusTools:::as_outlets(NULL), NULL)

o <- list(13293970, 13293971)
Expand Down Expand Up @@ -94,6 +96,7 @@ test_that("test_as_outlets", {
})

test_that("test_styles", {
testthat::skip_on_ci()
st <- nhdplusTools:::get_styles(NULL)
expect_named(st, c("basin", "flowline", "network_wtbd",
"off_network_wtbd","outlets"))
Expand Down Expand Up @@ -125,6 +128,7 @@ test_that("test_styles", {
})

test_that("comids", {
testthat::skip_on_ci()
Sys.setenv(MAKE_BASIN="FALSE")

testthat::skip_on_cran()
Expand Down Expand Up @@ -156,6 +160,7 @@ test_that("comids", {
})

test_that("waterbodies", {
testthat::skip_on_ci()
testthat::skip_on_cran()
site <- "USGS-05428500"
tempd <- tempdir(check = TRUE)
Expand Down Expand Up @@ -192,6 +197,7 @@ test_that("waterbodies", {
})

test_that("get_waterbody_outlet", {
testthat::skip_on_ci()
testthat::skip_on_cran()
lake_comid <- 13293262
site <- "USGS-05428500"
Expand Down

0 comments on commit d36d386

Please sign in to comment.