Skip to content

Commit

Permalink
Skip CI on connection tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fontikar committed Nov 13, 2024
1 parent bf1553e commit c60e282
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-connection.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("Complains when network is down", {
skip_if_offline(host = "api.github.com")
skip_on_ci()

Sys.setenv("NETWORK_UP" = FALSE)
expect_message(default_version())
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-versions.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("Retrieval is possible", {
skip_if_offline(host = "api.github.com")
skip_on_ci()

Sys.setenv("NETWORK_UP" = TRUE)
versions <- get_versions()
Expand Down

0 comments on commit c60e282

Please sign in to comment.