Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
- name: aragog
report_pkg_dir: ./tests/packages/aragog
report_template_path: ./template.qmd
report_path: ./validation_report.pdf
- name: buckbeak
report_pkg_dir: ./tests/packages/buckbeak
report_template_path: ./tests/packages/buckbeak/validation-template.qmd
report_path: ./tests/packages/buckbeak/validation_report.pdf

steps:
- name: Checkout ${{ matrix.package.name }}
Expand All @@ -42,5 +44,5 @@ jobs:
if: success()
with:
name: ${{ matrix.package.name }} validation report
path: validation_report.pdf
path: ${{ matrix.package.report_path }}
if-no-files-found: error
3 changes: 2 additions & 1 deletion .github/workflows/test_no_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: buckbeak
report_pkg_dir: ./tests/packages/buckbeak
report_template_path: ./tests/packages/buckbeak/validation-template.qmd
report_path: ./tests/packages/buckbeak/validation_report.pdf

steps:
- name: Checkout ${{ matrix.package.name }}
Expand All @@ -40,5 +41,5 @@ jobs:
if: success()
with:
name: ${{ matrix.package.name }} validation report
path: validation_report.pdf
path: ${{ matrix.package.report_path }}
if-no-files-found: error
12 changes: 6 additions & 6 deletions template.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tt_sys_info_df <- data.frame(
tt(
tt_sys_info_df,
caption = "System information",
theme = "bootstrap"
theme = "default"
)
```

Expand Down Expand Up @@ -93,7 +93,7 @@ tt_git_df <- data.frame(
tt(
tt_git_df,
caption = "Git information",
theme = "bootstrap"
theme = "default"
)
```

Expand Down Expand Up @@ -135,7 +135,7 @@ tt_riskmetric_df <- d_riskmetric %>%
tt(
tt_riskmetric_df,
caption = "Package info assessed by the R package riskmetric",
theme = "bootstrap"
theme = "default"
)
```

Expand Down Expand Up @@ -209,7 +209,7 @@ if (require("covtracer", quietly = TRUE)) {
tt(
tt_covtracer_df,
caption = "Tracebility matrix mapping unit tests to documented behaviours.",
theme = "bootstrap"
theme = "default"
)
} else {
cat("No test suites.")
Expand Down Expand Up @@ -238,7 +238,7 @@ if (require("covtracer", quietly = TRUE)) {
tt(
tt_untested_df,
caption = "Untested behaviours: documentation that is not covered by any test.",
theme = "bootstrap"
theme = "default"
)
}
} else {
Expand All @@ -263,7 +263,7 @@ if (require("covtracer", quietly = TRUE)) {
tt(
tt_granularity_df,
caption = "Granularity of unit tests: directly tested exported functions.",
theme = "bootstrap"
theme = "default"
)
} else {
cat("{covtracer} not available to produce a traceability matrix")
Expand Down