From 35f52c69bb1af3e9d1953b0468ee473cff88d68f Mon Sep 17 00:00:00 2001 From: Jacqueline Zhang Date: Mon, 4 Nov 2024 16:57:10 +0800 Subject: [PATCH] update workflow --- .github/workflows/faucet_load_test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/faucet_load_test.yml b/.github/workflows/faucet_load_test.yml index 61a6da2..3ae90a0 100644 --- a/.github/workflows/faucet_load_test.yml +++ b/.github/workflows/faucet_load_test.yml @@ -45,8 +45,11 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt + + - name: Install dependencies + run: | npm install - + - name: Set Timestamp id: set_timestamp run: | @@ -57,8 +60,8 @@ jobs: id: generate_wallets run: | num_users=${{ github.event.inputs.number-of-users }} - total_users=$((num_users * 100)) - npx ts-node src/faucet/generate_wallet_address.ts $total_users + total_users=$num_users * 100 + npx ts-node ./faucet/generate_wallet_address.ts $total_users - name: Run Locust run: |