From 71ea77127253e8dcf8aa09b5d18acd8c21292614 Mon Sep 17 00:00:00 2001 From: William Wong Date: Wed, 6 Dec 2023 10:42:41 -0800 Subject: [PATCH] Upload failing snapshots --- .github/workflows/pull-request-validation.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index 383545686a..27d63b7541 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -247,6 +247,13 @@ jobs: ./coverage/nunit3-*.xml ./coverage/result-*.trx + - if: failure() + name: Upload test snapshot diffs + uses: action/upload-artifact@v3 + with: + name: test-snapshot-diff + path: ./__tests__/__image_snapshots__/*/__diff_output__/* + merge-test-result: if: always() name: Merge test result