git.delta.rocks / unique-network / refs/commits / 9acbee514302

difftreelog

ci do not regenerate types on every run

Yaroslav Bolyukin2023-09-01parent: #0722057.patch.diff
in: master

6 files changed

modified.github/workflows/collator-selection.ymldiffbeforeafterboth
232 - name: Run Collator tests232 - name: Run Collator tests
233 working-directory: tests233 working-directory: tests
234 if: success() || failure()234 if: success() || failure()
235 run: |235 run: |
236 yarn install236 yarn install
237 yarn add mochawesome237 yarn add mochawesome
238 node scripts/readyness.js238 node scripts/readyness.js
239 echo "Ready to start tests"239 echo "Ready to start tests"
240 yarn polkadot-types240 NOW=$(date +%s) && yarn testCollators --reporter mochawesome --reporter-options reportFilename=test-collators-${NOW}
241 NOW=$(date +%s) && yarn testCollators --reporter mochawesome --reporter-options reportFilename=test-collators-${NOW}
242 env:241 env:
243 RPC_URL: http://127.0.0.1:9944/242 RPC_URL: http://127.0.0.1:9944/
244243
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
263263
264 - name: Run Parallel tests264 - name: Run Parallel tests
265 working-directory: tests265 working-directory: tests
266 run: |266 run: |
267 yarn install267 yarn install
268 yarn add mochawesome268 yarn add mochawesome
269 ./scripts/wait_for_first_block.sh269 ./scripts/wait_for_first_block.sh
270 echo "Ready to start tests"270 echo "Ready to start tests"
271 yarn polkadot-types271 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
272 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
273 env:272 env:
274 RPC_URL: http://127.0.0.1:9944/273 RPC_URL: http://127.0.0.1:9944/
275274
286 - name: Run Sequential tests285 - name: Run Sequential tests
287 working-directory: tests286 working-directory: tests
288 if: success() || failure()287 if: success() || failure()
289 run: |288 run: |
290 yarn install289 yarn install
291 yarn add mochawesome290 yarn add mochawesome
292 ./scripts/wait_for_first_block.sh291 ./scripts/wait_for_first_block.sh
293 echo "Ready to start tests"292 echo "Ready to start tests"
294 yarn polkadot-types293 NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}
295 NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}
296 env:294 env:
297 RPC_URL: http://127.0.0.1:9944/295 RPC_URL: http://127.0.0.1:9944/
298296
modified.github/workflows/gov.ymldiffbeforeafterboth
8282
83 - name: Run tests83 - name: Run tests
84 working-directory: tests84 working-directory: tests
85 run: |85 run: |
86 yarn install86 yarn install
87 yarn add mochawesome87 yarn add mochawesome
88 ./scripts/wait_for_first_block.sh88 ./scripts/wait_for_first_block.sh
89 echo "Ready to start tests"89 echo "Ready to start tests"
90 yarn polkadot-types90 NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}
91 NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}
92 env:91 env:
93 RPC_URL: http://127.0.0.1:9944/92 RPC_URL: http://127.0.0.1:9944/
9493
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
268 - name: Run Parallel tests before Node Parachain upgrade268 - name: Run Parallel tests before Node Parachain upgrade
269 working-directory: ${{ matrix.mainnet_branch }}/tests269 working-directory: ${{ matrix.mainnet_branch }}/tests
270 if: success() || failure()270 if: success() || failure()
271 run: |271 run: |
272 yarn install272 yarn install
273 yarn add mochawesome273 yarn add mochawesome
274 ./scripts/wait_for_first_block.sh274 ./scripts/wait_for_first_block.sh
275 echo "Ready to start tests"275 echo "Ready to start tests"
276 yarn polkadot-types276 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
277 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
278 env:277 env:
279 RPC_URL: http://127.0.0.1:9944/278 RPC_URL: http://127.0.0.1:9944/
280279
371 - name: Run Parallel tests after Node Parachain upgrade370 - name: Run Parallel tests after Node Parachain upgrade
372 working-directory: ${{ matrix.mainnet_branch }}/tests371 working-directory: ${{ matrix.mainnet_branch }}/tests
373 if: success() || failure() # run this step even if previous step failed372 if: success() || failure() # run this step even if previous step failed
374 run: |373 run: |
375 yarn install374 yarn install
376 yarn add mochawesome375 yarn add mochawesome
377 ./scripts/wait_for_first_block.sh376 ./scripts/wait_for_first_block.sh
378 echo "Ready to start tests"377 echo "Ready to start tests"
379 yarn polkadot-types378 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
380 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
381 env:379 env:
382 RPC_URL: http://127.0.0.1:9944/380 RPC_URL: http://127.0.0.1:9944/
383381
modified.github/workflows/xcm.ymldiffbeforeafterboth
304304
305 - name: Run XCM tests305 - name: Run XCM tests
306 working-directory: tests306 working-directory: tests
307 run: |307 run: |
308 yarn install308 yarn install
309 yarn add mochawesome309 yarn add mochawesome
310 # Wanted by both wait_for_first_block and yarn polkadot-types310 # Wanted by both wait_for_first_block
311 export RPC_URL="${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}"311 export RPC_URL="${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}"
312 ./scripts/wait_for_first_block.sh312 ./scripts/wait_for_first_block.sh
313 echo "Ready to start tests"313 echo "Ready to start tests"
314 yarn polkadot-types314 NOW=$(date +%s) && yarn ${{ matrix.runtest }} --reporter mochawesome --reporter-options reportFilename=test-${NOW}
315 NOW=$(date +%s) && yarn ${{ matrix.runtest }} --reporter mochawesome --reporter-options reportFilename=test-${NOW}
316315
317 - name: XCM Test Report316 - name: XCM Test Report
318 uses: phoenix-actions/test-reporting@v10317 uses: phoenix-actions/test-reporting@v10
modified.github/workflows/yarn-dev.ymldiffbeforeafterboth
6363
64 - name: Run tests64 - name: Run tests
65 working-directory: tests65 working-directory: tests
66 run: |66 run: |
67 yarn install67 yarn install
68 yarn add mochawesome68 yarn add mochawesome
69 ./scripts/wait_for_first_block.sh69 ./scripts/wait_for_first_block.sh
70 echo "Ready to start tests"70 echo "Ready to start tests"
71 yarn polkadot-types71 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
72 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
73 env:72 env:
74 RPC_URL: http://127.0.0.1:9944/73 RPC_URL: http://127.0.0.1:9944/
7574