From 565994756b6971cdd6afb5fcffd538c191eadd3b Mon Sep 17 00:00:00 2001 From: thelovekesh Date: Fri, 8 Sep 2023 22:17:26 +0530 Subject: [PATCH] Update e2e tests artifacts to GitHub in case of failure --- .github/workflows/build-test-measure.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-test-measure.yml b/.github/workflows/build-test-measure.yml index 5f77a66d403..a845042eff9 100644 --- a/.github/workflows/build-test-measure.yml +++ b/.github/workflows/build-test-measure.yml @@ -366,6 +366,13 @@ jobs: env: COMPOSE_INTERACTIVE_NO_CLI: true + - name: Upload artifacts + uses: actions/upload-artifact@v3 + if: failure() + with: + name: amp-e2e-artifacts + path: artifacts + #----------------------------------------------------------------------------------------------------------------------- # Adapted from workflow for running PHP unit tests on google/web-stories-wp.