From 0f1fcf0690b14ded5d90ff4fe03a289e0cef5430 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Thu, 04 Aug 2022 13:27:32 +0000 Subject: [PATCH] Changed steps related to testing. --- --- a/.github/workflows/node_build_test.yml +++ b/.github/workflows/node_build_test.yml @@ -90,17 +90,21 @@ with: node-version: 16.x - - name: Install dependencies +# - name: Install dependencies +# run: | +# cd tests +# yarn install +# yarn add @polkadot/api @polkadot/util@9.4.1 mochawesome +# yarn --pure-lockfile + + - name: Run tests run: | cd tests + echi "Installing required packages" yarn install yarn add @polkadot/api @polkadot/util@9.4.1 mochawesome - yarn --pure-lockfile - - - name: Run tests - run: | + echo "Ready to start tests" node .docker/readyness.js - cd tests NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW} env: RPC_URL: http://127.0.0.1:9933/ -- gitstuff