From e17f35f79025f0af2d2f4d386e981db5cb111bb0 Mon Sep 17 00:00:00 2001 From: Vasyl Yurkovych <59879559+yurkovychv@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:46:41 +0200 Subject: [PATCH] PMM-7 attach screenshots for codeceptjs tests (#662) --- .github/workflows/runner-e2e-tests-codeceptjs.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/runner-e2e-tests-codeceptjs.yml b/.github/workflows/runner-e2e-tests-codeceptjs.yml index 1de68c24..b2745e97 100644 --- a/.github/workflows/runner-e2e-tests-codeceptjs.yml +++ b/.github/workflows/runner-e2e-tests-codeceptjs.yml @@ -173,6 +173,13 @@ jobs: return `artifacts_for_${process.env.TAGS_FOR_TESTS.replaceAll('|', '')}` result-encoding: string + - uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: ${{ steps.artifact_name.outputs.result }} + path: | + pmm-ui-tests/tests/output/*.png + - name: Create status check if: ${{ github.event_name != 'pull_request' && always() }} uses: percona/gh-action-github-status-action@v1