File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+ name : E2E Tests and Health Checks
2+
3+ on :
4+ schedule :
5+ - cron : ' */30 * * * *'
6+ workflow_dispatch :
7+ inputs :
8+ datil_branch :
9+ description : ' Branch for Datil tests'
10+ required : true
11+ default : ' datil'
12+ naga_branch :
13+ description : ' Branch for Naga tests'
14+ required : true
15+ default : ' naga'
16+
17+ jobs :
18+ datil-health-check :
19+ runs-on : ubuntu-latest
20+ strategy :
21+ fail-fast : false
22+ matrix :
23+ network : [datil-dev, datil-test, datil]
24+ steps :
25+ - name : Checkout datil branch
26+ uses : actions/checkout@v4
27+ with :
28+ ref : ${{ github.event.inputs.datil_branch || 'datil' }}
29+
30+ - name : Setup Node.js
31+ uses : actions/setup-node@v4
32+ with :
33+ node-version : ' 18'
34+
35+ - name : Install Yarn dependencies
36+ run : yarn install --frozen-lockfile
37+
38+ - name : Run health check for ${{ matrix.network }}
39+ run : NETWORK=${{ matrix.network }} yarn test:health
40+
41+ naga-health-check :
42+ runs-on : ubuntu-latest
43+ strategy :
44+ fail-fast : false
45+ matrix :
46+ network : [naga-dev, naga-staging, naga-test]
47+ steps :
48+ - name : Checkout naga branch
49+ uses : actions/checkout@v4
50+ with :
51+ ref : ${{ github.event.inputs.naga_branch || 'naga' }}
52+
53+ - name : Setup Bun
54+ uses : oven-sh/setup-bun@v1
55+
56+ - name : Install Bun dependencies
57+ run : bun install --frozen-lockfile
58+
59+ - name : Run health check for ${{ matrix.network }}
60+ run : NETWORK=${{ matrix.network }} bun run test:health
You can’t perform that action at this time.
0 commit comments