From 46e8df097e9ebfa71bfb1375438b7ff3d7464d03 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 20 Jun 2025 16:56:47 +0200 Subject: [PATCH] Trying to wait a bit after starting hardhat before running the tests --- .github/workflows/ci-reusable.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index e63c949f..204c9607 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -62,7 +62,10 @@ jobs: npm install mkdir -p ../../tests/integration/logs npm start > ../../tests/integration/logs/hardhat.log 2>&1 & - + # Wait for the contracts to be deployed + # This sleep time is required with hardhat ignition + sleep 5 + ## Part 2 Tests ## - name: Contract tests if: matrix.tests == 'contract' || matrix.tests == 'all'