Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Platane committed Mar 15, 2024
1 parent aad9111 commit 5c6d41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/recuring-live-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: oven-sh/setup-bun@v1

- run: bunx playwright merge-reports --reporter line blob-report | sed -e 's/\x1b\[[0-9;]*m//g' | tee report.txt
- run: bunx playwright merge-reports --reporter line blob-report | tee report.txt

- run: echo failed=`cat report.txt | grep failed` >> "$GITHUB_OUTPUT"
id: status
Expand All @@ -54,7 +54,7 @@ jobs:
run: |
echo "🚨 e2e test failed [report](${{ steps.report-upload.outputs.url }}) [run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) [app](${{ inputs.app_url || 'https://timezone.rocks' }})" >> body.txt
echo "\`\`\`" >> body.txt
cat report.txt >> body.txt
cat report.txt | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" >> body.txt # remove colors
echo "\`\`\`" >> body.txt
gh issue comment 15 --body-file body.txt
Expand Down

0 comments on commit 5c6d41d

Please sign in to comment.