From 18c443abbe0e1308a48266018d6a2789652e5e80 Mon Sep 17 00:00:00 2001 From: "Martindale, Nathan" Date: Fri, 21 Jun 2024 11:28:50 -0400 Subject: [PATCH] Set github action to upload playwright trace if previous step fails --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 36e02bd..cdf75d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,6 +27,7 @@ jobs: - name: Test with pytest run: pytest -vv -s --tracing retain-on-failure - name: Archive failed playwright traces + if: failure() uses: actions/upload-artifact@v4 with: name: traces