Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi committed Jun 12, 2024
1 parent 8daf3cd commit 62d483a
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -788,28 +788,23 @@ jobs:
SN_LOG: "all"
timeout-minutes: 5

- name: Create and fund a wallet second time
run: |
ls -l /home/runner/.local/share
ls -l /home/runner/.local/share/safe
rm -rf /home/runner/.local/share/safe/test_faucet
rm -rf /home/runner/.local/share/safe/test_genesis
rm -rf /home/runner/.local/share/safe/client
~/faucet --log-output-dest=data-dir send 100000000 $(~/safe --log-output-dest=data-dir wallet address | tail -n 1) | tail -n 1 > second.txt
cat second.txt
env:
SN_LOG: "all"
timeout-minutes: 5
- name: Build faucet binary again
run: cargo build --release --bin faucet
timeout-minutes: 30

- name: Create and fund a wallet third time with different keypair
- name: Start up a faucet in server mode
run: |
ls -l /home/runner/.local/share
ls -l /home/runner/.local/share/safe
rm -rf /home/runner/.local/share/safe/test_faucet
rm -rf /home/runner/.local/share/safe/test_genesis
rm -rf /home/runner/.local/share/safe/client
GENESIS_PK=a9925296499299fdbf4412509d342a92e015f5b996e9acd1d2ab7f2326e3ad05934326efdc345345a95e973ac1bb6637 GENESIS_SK=40f6bbc870355c68138ac70b450b6425af02b49874df3f141b7018378ceaac66 ~/faucet --log-output-dest=data-dir send 100000000 $(~/safe --log-output-dest=data-dir wallet address | tail -n 1) | tail -n 1 > second.txt
cat third.txt
nohup target/release/faucet server &
echo "---------"
sleep 60
echo "========="
ls -l
cat nohup.out
env:
SN_LOG: "all"
timeout-minutes: 5
Expand Down

0 comments on commit 62d483a

Please sign in to comment.