Skip to content

Commit

Permalink
added_Slack_Notification
Browse files Browse the repository at this point in the history
  • Loading branch information
FahadDarw committed Dec 12, 2024
1 parent 232ccf1 commit 5909b16
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
- name: Run cypress
run: npm run cy:run -- --env URL='${{ secrets.URL }}',LOGIN_USERNAME=${{ secrets.LOGIN_USERNAME }},LOGIN_PASSWORD=${{ secrets.LOGIN_PASSWORD }},SIGNIN_URL=${{ secrets.SIGNIN_URL }}

- name: Generate report
if: always()
run: |
mkdir mochareports
npm run generate:html:report
- name: upload report
uses: actions/upload-artifact@v4
if: failure()
Expand All @@ -65,9 +71,4 @@ jobs:
run: npm run cy:notify -- --custom-text="Environment ${{ inputs.environment }}, See more information https://github.com/DFE-Digital/Dfe.Academies.External/actions/runs/${{github.run_id}}"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
- name: Generate report
if: always()
run: |
mkdir mochareports
npm run generate:html:report

0 comments on commit 5909b16

Please sign in to comment.