-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (41 loc) · 1.67 KB
/
wallet.yml
File metadata and controls
43 lines (41 loc) · 1.67 KB
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
name: Wallet Tests
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Install RUST
uses: dtolnay/rust-toolchain@stable
- name: Checkout code
uses: actions/checkout@v4
- name: Install gq
run: npm install -g graphqurl
- name: Setup regtest
uses: hhanh00/zkool2/.github/actions/zebra@main
with:
MINER_SEED: "burger voice warrior danger satoshi you solid atom elite alcohol category layer able debate culture talk tissue language hip surge fiction paddle stove voyage"
MINER_ADDRESS: "tmQ1BiNRfsvT6eMkJ5n7nMZsbz1PGwCs1Zs"
SEED: "invite couch cloud pave stuff cabbage usual rigid dragon warm cable price fame warfare next swallow worth opera suggest flame patch undo position arctic"
DESTINATION_ADDRESS: uregtest1ur83jamvhc5pwe8xzlu9d8ur4mxmny385mhlurxh5z00e6vhcf9zk0dncar334n0ucskdya9ytdrvzucprqjrhy7hd6rkklp0q6eyxp5
- name: Build zkool_graphql
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libudev-dev
cd rust
cargo build --release --bin zkool_graphql --features=graphql
- name: Run smoke tests
run: |
rm -f regtest.db
nohup ./target/release/zkool_graphql -d regtest.db -l http://localhost:8137 -n &
cd example/sh
./smoke.sh
./smoke-dkg.sh
./smoke-frost.sh
env:
SEED: "invite couch cloud pave stuff cabbage usual rigid dragon warm cable price fame warfare next swallow worth opera suggest flame patch undo position arctic"