-
Notifications
You must be signed in to change notification settings - Fork 92
63 lines (54 loc) · 1.47 KB
/
test-merge.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: "Test: Merge to branch"
on:
push:
branches:
- main
- 'prerelease/**'
jobs:
e2e-electron:
name: e2e
uses: ./.github/workflows/test-e2e-linux.yml
with:
grep: ""
project: "e2e-electron"
display_name: "electron (linux)"
currents_tags: "merge,electron/linux"
secrets: inherit
e2e-windows-electron:
name: e2e
uses: ./.github/workflows/test-e2e-windows.yml
with:
grep: ""
display_name: "electron (windows)"
currents_tags: "merge,electron/windows"
report_testrail: false
secrets: inherit
e2e-linux-browser:
name: e2e
uses: ./.github/workflows/test-e2e-linux.yml
with:
grep: ""
display_name: "browser (linux)"
project: "e2e-browser"
currents_tags: "merge,browser/linux"
report_testrail: false
secrets: inherit
unit-tests:
name: test
uses: ./.github/workflows/test-unit.yml
secrets: inherit
integration-tests:
name: test
uses: ./.github/workflows/test-integration.yml
secrets: inherit
slack-notify:
if: failure()
needs: [unit-tests, integration-tests, e2e-electron, e2e-windows-electron, e2e-linux-browser]
runs-on: ubuntu-latest
steps:
- name: Send Slack Notification
uses: midleman/slack-workflow-status@master
with:
repo_token: ${{ secrets.POSITRON_GITHUB_PAT }}
slack_webhook_url: ${{ secrets.SLACK_TEST_RESULTS_WEBHOOK_URL }}
notify_on: "failure"