Skip to content

Commit

Permalink
wip(e2e)
Browse files Browse the repository at this point in the history
  • Loading branch information
arikkfir committed Sep 8, 2023
1 parent 384a487 commit e0d154c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@ jobs:
gcloud storage cp -r -P ./playwright-report/* "${UPLOAD_URL}"
touch comment.txt
echo "End to end tests *"${{ steps.test.outcome == 'success' && 'succeeded' || 'failed' }}"*." >> comment.txt
echo "[Click here for a full report](${WEB_URL})." >> comment.txt
echo "End to end tests *"${{ steps.test.outcome == 'success' && 'succeeded' || 'failed' }}"* ([click here for a full report](${WEB_URL}))" >> comment.txt
echo "Application URL: https://acme.${ENV_NAME}.greenstar.kfirs.com" >> comment.txt
echo "" >> comment.txt
echo "---" >> comment.txt
echo "" >> comment.txt
cat custom-summary.txt >> comment.txt
gh pr comment ${PR} --body-file comment.txt --edit-last || gh pr comment ${PR} --body-file comment.txt
Expand All @@ -110,7 +111,7 @@ jobs:
fi
env:
BUCKET_NAME: arikkfir-playwright-reports
BUCKET_PATH: ${{ github.repository }}/actions/${{ github.run_number }}/${{ github.run_attempt }}/
BUCKET_PATH: ${{ github.repository }}/actions/${{ github.run_number }}/${{ github.run_attempt }}
ENV_NAME: ${{ steps.env.outputs.name }}
GH_TOKEN: ${{ github.token }}
PR: ${{ github.event.pull_request.number || github.event.issue.number }}
Expand Down

0 comments on commit e0d154c

Please sign in to comment.