difftreelog
Run tests if failure and use GITHUB_TOKEN
in: master
(cherry picked from commit 4470b17015b39e8542b4f6f2165354555da19887)
1 file changed
.github/workflows/node-only-update.ymldiffbeforeafterboth76 with:76 with:77 template: .docker/docker-compose.tmp-node.j277 template: .docker/docker-compose.tmp-node.j278 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml78 output_file: .docker/docker-compose.node.${{ matrix.network }}.yml79 variables: |79 variables: |80 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git80 REPO_URL=${{ github.server_url }}/${{ github.repository }}.git81 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}81 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}82 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}82 POLKADOT_BUILD_BRANCH=${{ env.POLKADOT_BUILD_BRANCH }}83 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }} 83 POLKADOT_LAUNCH_BRANCH=${{ env.POLKADOT_LAUNCH_BRANCH }}84 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}84 POLKADOT_MAINNET_BRANCH=${{ env.POLKADOT_MAINNET_BRANCH }}85 MAINNET_TAG=${{ matrix.mainnet_tag }}85 MAINNET_TAG=${{ matrix.mainnet_tag }}86 MAINNET_BRANCH=${{ matrix.mainnet_branch }}86 MAINNET_BRANCH=${{ matrix.mainnet_branch }}87 NETWORK=${{ matrix.network }}87 NETWORK=${{ matrix.network }}88 BRANCH=${{ github.head_ref }}88 BRANCH=${{ github.head_ref }}898990 - name: Show build configuration90 - name: Show build configuration91 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml91 run: cat .docker/docker-compose.node.${{ matrix.network }}.yml181 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results181 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results182 reporter: mochawesome-json182 reporter: mochawesome-json183 fail-on-error: 'false'183 fail-on-error: 'false'184 token: ${{ secrets.GITHUB_TOKEN }}184185185 # TODO uncomment thease steps after the merge186 # TODO uncomment thease steps after the merge186 #- name: Run Parallel tests before Node Parachain upgrade187 #- name: Run Parallel tests before Node Parachain upgrade293 294294 ## TODO: Remove next two blocks before switch to Parrallel & Sequental tests. Uncoment commented blocks.295 ## TODO: Remove next two blocks before switch to Parrallel & Sequental tests. Uncoment commented blocks.295 - name: Run tests after Node Parachain upgrade296 - name: Run tests after Node Parachain upgrade297 if: success() || failure() # run this step even if previous step failed296 working-directory: ${{ matrix.mainnet_branch }}/tests298 working-directory: ${{ matrix.mainnet_branch }}/tests297 run: |299 run: |298 yarn install300 yarn install313 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results315 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results314 reporter: mochawesome-json316 reporter: mochawesome-json315 fail-on-error: 'false'317 fail-on-error: 'false'318 token: ${{ secrets.GITHUB_TOKEN }}316319317 # TODO uncomment thease steps after the merge320 # TODO uncomment thease steps after the merge318 #- name: Run Parallel tests after Node Parachain upgrade321 #- name: Run Parallel tests after Node Parachain upgrade