From 48ca5fda83b06a128d6d01a0cec66e7366270286 Mon Sep 17 00:00:00 2001 From: Vyatcheslav Suharnikov Date: Thu, 24 Oct 2024 12:49:43 +0400 Subject: [PATCH] Generate genesis using a provided dependency --- .github/workflows/check-pr.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 4a5e5dd3..70d09b53 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -25,14 +25,15 @@ jobs: java-version: '11' cache: 'sbt' - uses: sbt/setup-sbt@v1 - - name: Run unit tests - run: sbt --batch "test" - - name: Generate genesis.conf + - name: Run tests run: | - cd local-network - sh genesis-update.sh - - name: Run docker tests - run: sbt --batch "docker;consensus-client-it/test" + sbt --batch "\ + test; \ + consensus-client-it/Test/runMain com.wavesplatform.GenesisBlockGenerator \ + ../local-network/configs/wavesnode/genesis-template.conf \ + ../local-network/configs/wavesnode/genesis.conf; \ + docker; \ + consensus-client-it/test" - name: Archive logs uses: actions/upload-artifact@v4 if: always()