Skip to content

Commit

Permalink
Merge pull request #40 from Boehringer-Ingelheim/test_storing
Browse files Browse the repository at this point in the history
Test snapshot storing
  • Loading branch information
zsigmas authored Sep 17, 2024
2 parents 4dca92f + 9b1efbf commit 6e992b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,12 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: val_results
path: inst/validation/results
path: inst/validation/results

- name: Archive snap results ⬆️
if: always()
uses: actions/upload-artifact@v4
with:
name: snap_results
path: tests/testthat/_snaps

1 change: 1 addition & 0 deletions scripts/test_qc_pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test_results <- tibble::as_tibble(
withr::with_envvar(
new = list(CI = TRUE, no_proxy = "127.0.0.1", NOT_CRAN = TRUE, TESTTHAT_CPUS = 1),
code = {
testthat::set_max_fails(Inf)
testthat::test_package(pkg_name, reporter, stop_on_failure = FALSE)
}
)
Expand Down

0 comments on commit 6e992b1

Please sign in to comment.