-
Notifications
You must be signed in to change notification settings - Fork 73
37 lines (35 loc) · 1.2 KB
/
pre-merge-e2e-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Cypress Tests
on: push
# pull_request:
# branches: [main]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cypress run
uses: cypress-io/github-action@v4
with:
# start: yarn start-devnet
# wait-on: "http://localhost:3002"
command: npm run cy:run
- name: Uploading artifact
uses: actions/upload-artifact@v2
if: always()
with:
name: cypress-execution-report
path: |
/home/runner/work/mx-template-dapp/mx-template-dapp/mochawesome-report/mochawesome.html
/home/runner/work/mx-template-dapp/mx-template-dapp/cypress/screenshots
/home/runner/work/mx-template-dapp/mx-template-dapp/cypress/videos
- name: Slack Notification
uses: rtCamp/action-slack-notify@master
env:
if: always()
SLACK_ICON_EMOJI: ':nerd_face:'
SLACK_USERNAME: E2E TESTS COMPLETED
SLACK_MESSAGE: CHECK E2E REPORT
SLACK_FOOTER: ''
MSG_MINIMAL: true
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}