Skip to content

Commit

Permalink
skip some tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrecenti committed Dec 20, 2022
1 parent c76ee96 commit 92864a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-new.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ test_that("new captcha works", {

test_that("new captcha GUI works", {

skip_on_ci()

# same as new_captcha()
tmp_dir <- withr::local_tempdir()

Expand Down
7 changes: 7 additions & 0 deletions tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ test_that("print captcha as expected", {
test_that("plot captcha as expected", {

# from the testthat documentation

skip_on_ci()

save_png <- function(code, width = 400, height = 400) {
path <- tempfile(fileext = ".png")
png(path, width = width, height = height)
Expand All @@ -25,6 +28,8 @@ test_that("plot captcha as expected", {

test_that("plot captcha as expected, big images", {

skip_on_ci()

# from the testthat documentation
save_png <- function(code, width = 400, height = 400) {
path <- tempfile(fileext = ".png")
Expand All @@ -46,6 +51,8 @@ test_that("plot captcha as expected, big images", {

test_that("plot captcha with annotation", {

skip_on_ci()

# from the testthat documentation
save_png <- function(code, width = 400, height = 400) {
path <- tempfile(fileext = ".png")
Expand Down

0 comments on commit 92864a4

Please sign in to comment.