From 8a79ba023260592887288daabaa053d3e896812c Mon Sep 17 00:00:00 2001 From: Ruslan Gladov Date: Sat, 15 Jun 2024 20:54:27 +0300 Subject: [PATCH] Adding hardhat test --- .github/workflows/ci_deploy.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_deploy.yaml b/.github/workflows/ci_deploy.yaml index 19867985e3..d1fdef9b42 100644 --- a/.github/workflows/ci_deploy.yaml +++ b/.github/workflows/ci_deploy.yaml @@ -46,13 +46,18 @@ jobs: # npm install --save-dev @nomicfoundation/hardhat-toolbox # npx hardhat ignition deploy ./ignition/modules/Lock.js + - name: Run docker container with the Apollo contract + run: docker run hardhat-ignition + + - name: Hardhat test + run: npx hardhat test - name: Build and push Docker image uses: docker/build-push-action@v5 with: context: . push: true - tags: e1018mc/limechain:deployed + tags: e1018mc/limechain:apollo_contract - name: Destroy local devnet run: docker-compose down