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

difftreelog

added stale parameters.

Alexander Aksenov2022-10-06parent: #8fce676.patch.diff
in: master

1 file changed

modified.github/workflows/node-only-update_v2.ymldiffbeforeafterboth
165165
166 - name: Run tests before Node Parachain upgrade166 - name: Run tests before Node Parachain upgrade
167 working-directory: ${{ matrix.mainnet_branch }}/tests167 working-directory: ${{ matrix.mainnet_branch }}/tests
168 run: |168 run: |
169 yarn install169 yarn install
170 yarn add mochawesome170 yarn add mochawesome
171 echo "Ready to start tests"171 echo "Ready to start tests"
172 yarn polkadot-types172 yarn polkadot-types
173 NOW=$(date +%s) && yarn testConnection --reporter mochawesome --reporter-options reportFilename=test-${NOW}173 NOW=$(date +%s) && yarn testConnection --reporter mochawesome --reporter-options reportFilename=test-before-${NOW}
174 env:174 env:
175 RPC_URL: http://127.0.0.1:9933/175 RPC_URL: http://127.0.0.1:9933/
176176
180 if: success() || failure() # run this step even if previous step failed180 if: success() || failure() # run this step even if previous step failed
181 with:181 with:
182 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
183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results
184 reporter: mochawesome-json184 reporter: mochawesome-json
185 fail-on-error: 'false'185 fail-on-error: 'false'
186186
187 - name: Send SIGUSR1 to polkadotlaunch process187 - name: Send SIGUSR1 to polkadot-launch process
188 if: success() || failure()188 if: success() || failure()
189 run: |189 run: |
190 ContainerID=$(docker ps -aqf "name=node-parachain")190 ContainerID=$(docker ps -aqf "name=node-parachain")
250 shell: bash250 shell: bash
251251
252 - name: Run tests after Node Parachain upgrade252 - name: Run tests after Node Parachain upgrade
253 if: success()
253 working-directory: tests254 working-directory: ${{ matrix.mainnet_branch }}/tests
254 run: |255 run: |
255 yarn install256 yarn install
256 yarn add mochawesome257 yarn add mochawesome
257 node scripts/readyness.js258 node scripts/readyness.js
258 echo "Ready to start tests"259 echo "Ready to start tests"
259 yarn polkadot-types260 yarn polkadot-types
260 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}261 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-after-${NOW}
261 env:262 env:
262 RPC_URL: http://127.0.0.1:9933/263 RPC_URL: http://127.0.0.1:9933/
263264
267 if: success() || failure() # run this step even if previous step failed268 if: success() || failure() # run this step even if previous step failed
268 with:269 with:
269 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created270 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created
270 path: tests/mochawesome-report/test-*.json # Path to test results271 path: tests/mochawesome-report/test-after-*.json # Path to test results
271 reporter: mochawesome-json272 reporter: mochawesome-json
272 fail-on-error: 'false'273 fail-on-error: 'false'
273274