Skip to content

Commit

Permalink
GitHubActions
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayp7 committed Feb 25, 2024
1 parent 7d26146 commit 2613196
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:
# This step should always run, even if previous steps fail
if: always()

- name: Check if HTML report exists
run: |
if [ -d "html-report" ]; then
echo "HTML report exists."
else
echo "HTML report does not exist. Exiting..."
exit 1
fi
# Step to zip html-report folder
- name: Zip HTML report
run: zip -r html-report.zip html-report
Expand All @@ -66,6 +75,7 @@ jobs:

- name: Generate artifact link
id: artifact_link
# Adjust the wait time as needed
run: echo "::set-output name=artifact_url::https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts"

# Send Slack notification once the tests are completed
Expand Down

0 comments on commit 2613196

Please sign in to comment.