Skip to content

Commit bc0ab63

Browse files
authored
ci: Add xml2 for covr, print testthat results (#47)
1 parent f76dfb0 commit bc0ab63

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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)