-
Notifications
You must be signed in to change notification settings - Fork 39
107 lines (98 loc) · 3.35 KB
/
regression_testing.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: Regression test
on:
workflow_dispatch:
schedule:
- cron: "0 16 * * *"
jobs:
invoke-fmt-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke fmt test
id: invoke-fmt-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: Code Format
token: ${{ secrets.GITHUB_TOKEN }}
invoke-v3-core-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke v3 core test
id: invoke-v3-core-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: v3 Core Tests
wait-for-completion-timeout: 2h
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'
invoke-web3-compatible-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke web3 compatible test
id: invoke-web3-compatible-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: Web3 Compatible Tests
wait-for-completion-timeout: 2h
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'
invoke-openzeppelin-test-1-5-and-12-15-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke OCT 1-5 And 12-15 test
id: invoke-openzeppelin-test-1-5-and-12-15-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: OCT 1-5 And 12-15
wait-for-completion-timeout: 2h
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'
invoke-OCT-6-10-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke OCT 1-5 And 12-15 test
id: invoke-OCT-6-10-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: OCT 6-10
wait-for-completion-timeout: 2h
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'
invoke-OCT-11-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke OCT 11 test
id: invoke-OCT-11-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: OCT 11
wait-for-completion-timeout: 2h
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'
invoke-OCT-16-19-test:
if: github.repository_owner == 'axonweb3'
runs-on: ubuntu-latest
steps:
- name: Invoke OCT 16-19 test
id: invoke-OCT-16-19-test
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: OCT 16-19
wait-for-completion-timeout: 2h
token: ${{ secrets.GITHUB_TOKEN }}
inputs: '{ "dispatch": "regression" }'
output-result:
runs-on: ubuntu-latest
needs: [invoke-fmt-test,invoke-v3-core-test,invoke-web3-compatible-test,invoke-openzeppelin-test-1-5-and-12-15-test,invoke-OCT-6-10-test,invoke-OCT-11-test,invoke-OCT-16-19-test]
if: github.repository_owner == 'axonweb3' && always()
steps:
- name: send message
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}