From 9b1efbfaa7243491fdcc47781d02db0c01f35835 Mon Sep 17 00:00:00 2001 From: Luis Moris Fernandez Date: Tue, 17 Sep 2024 11:17:51 +0200 Subject: [PATCH] store test snapshots even when previous stages have failed --- .github/workflows/test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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