diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78aca50..50a7b0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,4 +82,12 @@ jobs: uses: actions/upload-artifact@v4 with: name: val_results - path: inst/validation/results \ No newline at end of file + path: inst/validation/results + + - name: Archive snap results ⬆️ + if: always() + uses: actions/upload-artifact@v4 + with: + name: snap_results + path: tests/testthat/_snaps + \ No newline at end of file diff --git a/scripts/test_qc_pkg.R b/scripts/test_qc_pkg.R index 889df2f..e850da5 100644 --- a/scripts/test_qc_pkg.R +++ b/scripts/test_qc_pkg.R @@ -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) } )