From f0ca3cd84c752cf302af1ff735c7e32b7910c694 Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Thu, 21 Sep 2023 10:27:55 -0400 Subject: [PATCH] ci(github): uses to store failing backstop tests --- .github/workflows/test-backstop.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-backstop.yml b/.github/workflows/test-backstop.yml index 9de0d543e..cbd168ccb 100644 --- a/.github/workflows/test-backstop.yml +++ b/.github/workflows/test-backstop.yml @@ -75,18 +75,14 @@ jobs: run: | cd _ci/backstop && ENV=$DEPLOY_ENV npm run test.gh FAIL_TABLE=$(./_utils/parse-report.sh ${{ vars.REPORTS_DOMAIN }} $REPORT_PATH) - echo '' - echo $FAIL_TABLE - echo '' - echo "ERROR_COMMENT_BODY=$FAIL_TABLE" >> $GITHUB_ENV - echo "DIST=$(date +%y%m%d-%H%M%S)" >> $GITHUB_ENV + echo ERROR_COMMENT_BODY=$FAIL_TABLE >> $GITHUB_OUTPUT - name: continue-on-error Comment uses: dgrebb/continue-on-error-comment@feature/change-signature with: repo-token: ${{ secrets.GH_WORKFLOW_TOKEN }} outcome: ${{ steps.backstop.outcome }} - test-id: "${{ env.ERROR_COMMENT_BODY }}" + test-id: ${{ steps.backstop.outputs.ERROR_COMMENT_BODY }} - name: ⬆ Uploading Test Report if: always()