Skip to content

Commit cf8cb40

Browse files
committed
Un-skip on GitHub Actions
1 parent b84789e commit cf8cb40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/testthat/helper.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,12 @@ test_mode <- function() {
8282
}
8383

8484
skip_if_not_ci <- function() {
85-
ci <- any(toupper(Sys.getenv(c("TRAVIS", "APPVEYOR"))) == "TRUE")
85+
ci_providers <- c("GITHUB_ACTIONS", "TRAVIS", "APPVEYOR")
86+
ci <- any(toupper(Sys.getenv(ci_providers)) == "TRUE")
8687
if (ci) {
8788
return(invisible(TRUE))
8889
}
89-
skip("Not on Travis or Appveyor")
90+
skip("Not on GitHub Actions, Travis, or Appveyor")
9091
}
9192

9293
skip_if_no_git_config <- function() {

0 commit comments

Comments
 (0)