git.delta.rocks / unique-network / refs/commits / 71169bd25710

difftreelog

fix forkless build and tests workflow steps

Konstantin Astakhov2023-01-25parent: #1128fb0.patch.diff
in: master

10 files changed

modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-data.yml
+++ b/.github/workflows/forkless-update-data.yml
@@ -51,7 +51,7 @@
       matrix:
         include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}}
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     steps:
       - name: Clean Workspace
@@ -140,7 +140,7 @@
 
     name: ${{ matrix.network }}-data-tests
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -49,7 +49,7 @@
 
     name: ${{ matrix.network }}-nodata-build
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
@@ -141,7 +141,7 @@
 
     name: ${{ matrix.network }}-nodata-tests
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/market-test.ymldiffbeforeafterboth
--- a/.github/workflows/market-test.yml
+++ b/.github/workflows/market-test.yml
@@ -18,7 +18,7 @@
 
     name: ${{ matrix.network }}    
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
     
     strategy:
       matrix:
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
--- a/.github/workflows/node-only-update.yml
+++ b/.github/workflows/node-only-update.yml
@@ -52,7 +52,7 @@
 
     name: ${{ matrix.network }}
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/polkadot-types.ymldiffbeforeafterboth
--- a/.github/workflows/polkadot-types.yml
+++ b/.github/workflows/polkadot-types.yml
@@ -24,7 +24,7 @@
 
     name: ${{ matrix.network }}
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/testnet-build.ymldiffbeforeafterboth
--- a/.github/workflows/testnet-build.yml
+++ b/.github/workflows/testnet-build.yml
@@ -53,7 +53,7 @@
 
     name: ${{ matrix.network }}
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/try-runtime.ymldiffbeforeafterboth
--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -43,7 +43,7 @@
 
     # The type of runner that the job will run on
     runs-on: [self-hosted-ci]
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     name: ${{ matrix.network }}-try-runtime-build
     strategy:
@@ -123,7 +123,7 @@
 
     name: ${{ matrix.network }}-try-runtime-tests
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/unit-test.ymldiffbeforeafterboth
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -17,7 +17,7 @@
 
     name: ${{ github.base_ref }}
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     steps:
 
modified.github/workflows/xcm.ymldiffbeforeafterboth
--- a/.github/workflows/xcm.yml
+++ b/.github/workflows/xcm.yml
@@ -54,7 +54,7 @@
 
     name: ${{ matrix.network }}-build
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
@@ -319,7 +319,7 @@
 
     name: ${{ matrix.network }}-tests
 
-    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
+    continue-on-error: true         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.
 
     strategy:
       matrix:
modified.github/workflows/yarn-dev.ymldiffbeforeafterboth
before · .github/workflows/yarn-dev.yml
1# Integration test in --dev mode2# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586411104/Integration+tests3name: yarn dev45# Triger: only call from main workflow(re-usable workflows)6on:7  workflow_call:891011# A workflow run is made up of one or more jobs that can run sequentially or in parallel12jobs:13  14  dev_build_int_tests:15    # The type of runner that the job will run on16    runs-on: [self-hosted-ci,medium]17    timeout-minutes: 13801819    name: ${{ matrix.network }}2021    continue-on-error: false         #Do not stop testing of matrix runs failed.  As it decided during PR review - it required 50/50& Let's check it with false.2223    strategy:24      matrix:25        include:26          - network: "opal"27          - network: "sapphire"28          - network: "quartz"29          - network: "unique"3031    steps:3233      - name: Clean Workspace34        uses: AutoModality/action-clean@v1.1.03536      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it37      - uses: actions/checkout@v3.1.038        with:39          ref: ${{ github.head_ref }}  #Checking out head commit4041      - name: Read .env file42        uses: xom9ikk/dotenv@v24344      - name: Generate ENV related extend file for docker-compose45        uses: cuchi/jinja2-action@v1.2.046        with:47          template: .docker/docker-compose.tmp-dev.j248          output_file: .docker/docker-compose.${{ matrix.network }}.yml49          variables: |50            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}51            NETWORK=${{ matrix.network }}52    5354      - name: Show build configuration55        run: cat .docker/docker-compose.${{ matrix.network }}.yml5657      - name: Build the stack58        run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans5960      - uses: actions/setup-node@v3.5.161        with:62          node-version: 166364      - name: Run tests65        working-directory: tests66        run: |67          yarn install68          yarn add mochawesome69          ./scripts/wait_for_first_block.sh70          echo "Ready to start tests"71          yarn polkadot-types72          NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}73        env:74          RPC_URL: http://127.0.0.1:9933/7576      - name: Test Report77        uses: phoenix-actions/test-reporting@v1078        id: test-report79        if: success() || failure()    # run this step even if previous step failed80        with:81          name: int test results - ${{ matrix.network }}            # Name of the check run which will be created82          path: tests/mochawesome-report/test-*.json    # Path to test results83          reporter: mochawesome-json84          fail-on-error: 'false'8586      - name: Read output variables87        run: |88          echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"8990      - name: Stop running containers91        if: always()                   # run this step always92        run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" down9394      - name: Remove builder cache95        if: always()                   # run this step always96        run: |97          docker builder prune -f -a98          docker system prune -f99          docker image prune -f -a100101  # check:102  #   if: always()103  #   runs-on: [self-hosted-ci]104  #   needs:105  #   - dev_build_int_tests106107  #   steps:108  #   - name: Install python3109  #     uses: actions/setup-python@v4110  #     with:111  #       python-version: '3.10'112113  #   - name: Decide whether the needed jobs succeeded or failed114  #     uses: re-actors/alls-green@v1.2.2115  #     with:116  #       jobs: ${{ toJSON(needs) }}