From 46e9b30c30f7d585a1ca77606242a9c98d50adad Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Thu, 06 Oct 2022 12:27:17 +0000 Subject: [PATCH] change to all tests. remove readyness.js as it not exists at old branches. --- --- a/.github/workflows/node-only-update_v2.yml +++ b/.github/workflows/node-only-update_v2.yml @@ -170,7 +170,7 @@ yarn add mochawesome echo "Ready to start tests" yarn polkadot-types - NOW=$(date +%s) && yarn testConnection --reporter mochawesome --reporter-options reportFilename=test-before-${NOW} + NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-before-${NOW} env: RPC_URL: http://127.0.0.1:9933/ @@ -195,7 +195,7 @@ docker logs ${ContainerID} - name: Get chain logs - if: always() # run this step always + if: failure() # run this step only at failure run: | docker exec node-parachain cat /polkadot-launch/9944.log docker exec node-parachain cat /polkadot-launch/9945.log @@ -255,7 +255,6 @@ run: | yarn install yarn add mochawesome - node scripts/readyness.js echo "Ready to start tests" yarn polkadot-types NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-after-${NOW} -- gitstuff