Skip to content

Merge pull request #223 from Lay3rLabs/221-add-script-for-transferrin… #31

Merge pull request #223 from Lay3rLabs/221-add-script-for-transferrin…

Merge pull request #223 from Lay3rLabs/221-add-script-for-transferrin… #31

Workflow file for this run

name: concurrency
on:
push:
branches:
- dev
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
test:
strategy:
fail-fast: true
name: Mock Concurrency tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Show anvil version
run: |
anvil --version
- name: Start Anvil in background
run: |
nohup anvil --host 127.0.0.1 --port 8545 > anvil.log 2>&1 &
echo $! > anvil.pid
for i in {1..10}; do
if nc -z 127.0.0.1 8545; then
echo "Anvil is up"
break
fi
echo "Waiting for Anvil to start..."
sleep 1
done
- name: Build wavs-middleware Docker image
run: |
docker build -t wavs-middleware .
- name: Run Concurrency tests
run: |
cd scripts/ecdsa/mock && ./concurrency_test.sh
- name: "Add test summary"
run: |
echo "## Tests result" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY