Skip to content

Commit 49e0eec

Browse files
authored
ci: Add xml2 for covr, print testthat results (#51)
1 parent 5603719 commit 49e0eec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/R-CMD-check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
cache-version: rcc-smoke-2
111111
needs: build, check, website
112112
# Beware of using dev pkgdown here, has brought in dev dependencies in the past
113-
extra-packages: any::rcmdcheck r-lib/roxygen2 any::decor r-lib/styler r-lib/pkgdown deps::.
113+
extra-packages: any::rcmdcheck r-lib/roxygen2 any::decor r-lib/styler r-lib/pkgdown xml2 deps::.
114114

115115
- uses: ./.github/workflows/custom/after-install
116116
if: hashFiles('.github/workflows/custom/after-install/action.yml') != ''

.github/workflows/update-snapshots/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ runs:
2525
tryCatch(
2626
{
2727
result <- as.data.frame(testthat::test_local(pattern = pattern, reporter = "silent", stop_on_failure = FALSE))
28+
print(result)
2829
failures <- result[result$failed + result$warning > 0, ]
2930
if (nrow(failures) > 0) {
3031
writeLines("Snapshot tests failed/warned.")

0 commit comments

Comments
 (0)