git.delta.rocks / unique-network / refs/commits / dd0a161f7657

difftreelog

Merge pull request #585 from UniqueNetwork/CI-85-ci-step-2-1-nodes-only-update-v2

Yaroslav Bolyukin2022-09-14parents: #3505c1c #353eeb9.patch.diff
in: master

1 file changed

modified.github/workflows/node-only-update_v2.ymldiffbeforeafterboth
156 exit 0156 exit 0
157 shell: bash157 shell: bash
158
159 - name: Checkout at '${{ matrix.mainnet_branch }}' branch
160 uses: actions/checkout@master
161 with:
162 ref: ${{ matrix.mainnet_branch }} #Checking out head commit
163 path: ${{ matrix.mainnet_branch }}
164
158165
159 - name: Run tests before Node Parachain upgrade166 - name: Run tests before Node Parachain upgrade
160 working-directory: tests167 working-directory: ${{ matrix.mainnet_branch }}/tests
161 run: |168 run: |
162 yarn install169 yarn install
163 yarn add mochawesome170 yarn add mochawesome
164 node scripts/readyness.js171 echo "Ready to start tests"
165 echo "Ready to start tests"172 yarn polkadot-types
166 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/
170176
174 if: success() || failure() # run this step even if previous step failed180 if: success() || failure() # run this step even if previous step failed
175 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 created
177 path: tests/mochawesome-report/test-*.json # Path to test results183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results
178 reporter: mochawesome-json184 reporter: mochawesome-json
179 fail-on-error: 'false'185 fail-on-error: 'false'
180186