Skip to content

Commit

Permalink
ci(github): uses to store failing backstop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Sep 21, 2023
1 parent 271983a commit f0ca3cd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test-backstop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f0ca3cd

Please sign in to comment.