-
Notifications
You must be signed in to change notification settings - Fork 2.2k
50 lines (40 loc) · 1.19 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
45
46
47
48
49
50
name: "Taiko Client Hive Tests"
on:
push:
branches: [update_contract_txs_]
paths:
- "packages/taiko-client/**"
- "go.mod"
- "go.sum"
jobs:
hive_tests:
name: hive tests
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies
- name: Clone taikoxyz/hive
run: git clone https://github.com/taikoxyz/hive.git /tmp/hive
- name: Update taiko contract tx list
working-directory: .
run: |
export TAIKO_MONO_DIR=$PWD
cd /tmp/hive/simulators/taiko
sh scripts/deploy_l1_contract.sh
- name: Hive tests
working-directory: packages/taiko-client
run: |
export HIVE_DIR=/tmp/hive
go test -v -p=1 ./integration_test -timeout=600s