tests/testthat.R

library(testthat)
library(ghactions)

if (requireNamespace("xml2")) {
  test_check("ghactions", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
} else {
  test_check("ghactions")
}
r-lib/ghactions documentation built on Dec. 15, 2020, 4:07 p.m.