We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b84789e commit cf8cb40Copy full SHA for cf8cb40
tests/testthat/helper.R
@@ -82,11 +82,12 @@ test_mode <- function() {
82
}
83
84
skip_if_not_ci <- function() {
85
- ci <- any(toupper(Sys.getenv(c("TRAVIS", "APPVEYOR"))) == "TRUE")
+ ci_providers <- c("GITHUB_ACTIONS", "TRAVIS", "APPVEYOR")
86
+ ci <- any(toupper(Sys.getenv(ci_providers)) == "TRUE")
87
if (ci) {
88
return(invisible(TRUE))
89
- skip("Not on Travis or Appveyor")
90
+ skip("Not on GitHub Actions, Travis, or Appveyor")
91
92
93
skip_if_no_git_config <- function() {
0 commit comments