Skip to content

Daily Regression

Daily Regression #707

name: Daily Regression
on:
workflow_dispatch:
schedule:
- cron: '0 11 * * 1-5'
env:
ELECTRON_EXTRA_LAUNCH_ARGS: '--disable-gpu'
jobs:
Regression:
runs-on: ubuntu-latest
# Cypress Docker image with Chrome v91
# and Firefox v89 pre-installed
container: cypress/browsers:node-18.16.0-chrome-112.0.5615.121-1-ff-112.0.1-edge-112.0.1722.48-1
environment: dev
steps:
- uses: actions/checkout@v1
name: Checkout
- name: cypress.env.json
run: |
echo '${{ secrets.CYPRESS_ENV_CI }}' > ./tests-e2e/cypress.env.json
- uses: cypress-io/github-action@v5
with:
browser: chrome
working-directory: ./tests-e2e
# - uses: actions/upload-artifact@v1
# if: failure()
# with:
# name: cypress-screenshots
# path: ./tests-e2e/cypress/screenshots
# - uses: actions/upload-artifact@v1
# if: always()
# with:
# name: cypress-videos
# path: ./tests-e2e/cypress/videos
- name: Rocket.Chat Notification
uses: RocketChat/[email protected]
if: failure()
with:
type: ${{ job.status }}
job_name: "EDX Daily Regression - DEV --->"
icon_emoji: ":bell:"
channel: "educ-automation-failures"
url: ${{ secrets.ROCKETCHAT_WEBHOOK_FAILURES }}
- name: Rocket.Chat Notification
uses: RocketChat/[email protected]
if: success()
with:
type: ${{ job.status }}
job_name: "EDX Daily Regression - DEV --->"
icon_emoji: ":bell:"
channel: "pen-automation-notifications"
url: ${{ secrets.ROCKETCHAT_WEBHOOK }}