-
Notifications
You must be signed in to change notification settings - Fork 0
72 lines (61 loc) · 1.68 KB
/
e2e.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: E2E tests
on:
workflow_dispatch:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
concurrency:
group: regressions-${{ github.head_ref }}
cancel-in-progress: true
jobs:
setup:
runs-on: ubuntu-18.04
timeout-minutes: 30
steps:
- name: Build
run: |
echo Building
sleep 10
echo Build successfully completed
e2e-start-message:
needs: setup
runs-on: ubuntu-18.04
timeout-minutes: 30
steps:
- name: Announce E2E tests start
id: e2e-start-message
uses: luisghz/simple-ms-teams-webhook-notifier@v1-latest
with:
webhook_url: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
theme-color: 'Info'
summary: "Starting E2E tests"
title: "Starting E2E tests"
sections: |
- activityImage: "{gh:avatar-url}"
activityTitle: "E2E tests triggered by [this commit](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})"
activitySubtitle: "You can check progress here: {gh:run-number-link}"
e2e:
needs: setup
runs-on: ubuntu-18.04
container: ivandimanov/rfq-github-e2e:latest
timeout-minutes: 30
env:
RESULTS_PATH: ${{ github.workspace }}
strategy:
matrix:
fixtures:
- admin_iwm.testcafe.js
- admin_iwm2.testcafe.js
# - admin_iwm7.testcafe.js
# - admin_iwm9.testcafe.js
steps:
- name: initiate
uses: actions/[email protected]
- name: Run E2E Tests
id: e2e
run: node --unhandled-rejections=strict ./scripts/test.js ${{ matrix.fixtures }}