-
Notifications
You must be signed in to change notification settings - Fork 2.2k
44 lines (36 loc) · 1.14 KB
/
taiko-client--hive-test.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
name: "Taiko Client Hive Tests"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/taiko-client/**"
- "go.mod"
- "go.sum"
branches-ignore:
- release-please--branches--**
jobs:
hive_tests:
if: ${{ github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'option.hive-test') }}
name: hive tests
runs-on: [arc-runner-set]
timeout-minutes: 40
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Install Git
run: sudo apt-get update && sudo apt-get install -y git
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
cache: true
- name: Clone taikoxyz/hive
run: git clone https://github.com/taikoxyz/hive.git /tmp/hive
- name: Hive tests
working-directory: packages/taiko-client
run: |
export HIVE_DIR=/tmp/hive
go test -v -p=1 ./integration_test -timeout=2400s