-
Notifications
You must be signed in to change notification settings - Fork 19
55 lines (48 loc) · 1.12 KB
/
sentinel.test.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
name: "miko sentinel test"
on:
push:
branches-ignore:
- "master"
paths:
- "node/pkg/checker/**"
workflow_dispatch:
jobs:
core-build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
timeout-minutes: 10
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.3"
check-latest: true
cache-dependency-path: |
./node/go.sum
- name: Install dependencies
run: |
cd ./node
go mod tidy
- name: Install Task
uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run test
run: |
cd ./node
task local:test-sentinel
env:
CHAIN: "baobab"
JSON_RPC_URL: "https://public-en-kairos.node.kaia.io"