Skip to content

e2e-scheduled-trigger-tests #502

e2e-scheduled-trigger-tests

e2e-scheduled-trigger-tests #502

name: e2e-scheduled-trigger-tests
on:
schedule:
- cron: "0 1 * * *"
jobs:
e2e-system-tests:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Checkout
uses: actions/checkout@v3
configuring-loading-secrets-running-tests:
needs: e2e-system-tests
uses: ./.github/workflows/main.yml
secrets:
service-account-token: ${{ secrets.CYPRESS_ONEPWD_SERVICE_ACCOUNT_TOKEN }}
notify_RC:
runs-on: ubuntu-latest
needs:
- e2e-system-tests
- configuring-loading-secrets-running-tests
if: |
always()
steps:
- uses: technote-space/workflow-conclusion-action@v3
- name: Send Notification to Rocket Chat
uses: RocketChat/[email protected]
with:
type: ${{ env.WORKFLOW_CONCLUSION }}
job_name: "Cypress Tests"
url: ${{ secrets.RC_WEBHOOK_URL }}
username: Scheduled Trigger Test Run