difftreelog
Merge pull request #585 from UniqueNetwork/CI-85-ci-step-2-1-nodes-only-update-v2
in: master
1 file changed
.github/workflows/node-only-update_v2.ymldiffbeforeafterboth156 exit 0156 exit 0157 shell: bash157 shell: bash158159 - name: Checkout at '${{ matrix.mainnet_branch }}' branch160 uses: actions/checkout@master161 with:162 ref: ${{ matrix.mainnet_branch }} #Checking out head commit163 path: ${{ matrix.mainnet_branch }}164158165159 - name: Run tests before Node Parachain upgrade166 - name: Run tests before Node Parachain upgrade160 working-directory: tests167 working-directory: ${{ matrix.mainnet_branch }}/tests161 run: |168 run: |162 yarn install169 yarn install163 yarn add mochawesome170 yarn add mochawesome164 node scripts/readyness.js171 echo "Ready to start tests"165 echo "Ready to start tests"172 yarn polkadot-types166 yarn polkadot-types173 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}167 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}168 env:174 env:169 RPC_URL: http://127.0.0.1:9933/175 RPC_URL: http://127.0.0.1:9933/170176174 if: success() || failure() # run this step even if previous step failed180 if: success() || failure() # run this step even if previous step failed175 with:181 with:176 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created182 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created177 path: tests/mochawesome-report/test-*.json # Path to test results183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results178 reporter: mochawesome-json184 reporter: mochawesome-json179 fail-on-error: 'false'185 fail-on-error: 'false'180186