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

difftreelog

Update unit-test_v2.yml

Alex2022-10-19parent: #229420a.patch.diff
in: master

1 file changed

modified.github/workflows/unit-test_v2.ymldiffbeforeafterboth
before · .github/workflows/unit-test_v2.yml
1# Re-Usable Workflow for lanching Unit tests2name: unit tests34# Controls when the action will run.5# Triger: only call from main workflow(re-usable workflows)6on:7  workflow_call:89# A workflow run is made up of one or more jobs that can run sequentially or in parallel10jobs:11  12  unit_tests:13    # The type of runner that the job will run on14    runs-on: [self-hosted-ci,medium]15    timeout-minutes: 13801617    name: ${{ github.base_ref }}1819    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.202122    steps:2324      - name: Clean Workspace25        uses: AutoModality/action-clean@v1.1.02627      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it28      - uses: actions/checkout@v329        with:30          ref: ${{ github.head_ref }}  #Checking out head commit3132      - name: Read .env file33        uses: xom9ikk/dotenv@v1.0.23435      - name: Generate ENV related extend file for docker-compose36        uses: cuchi/jinja2-action@v1.2.037        with:38          template: .docker/docker-compose.tmp-unit.j239          output_file: .docker/docker-compose.unit.yml40          variables: |41            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}42    4344      - name: Show build configuration45        run: cat .docker/docker-compose.unit.yml4647      - name: Build the stack48        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" up --build  --force-recreate --timeout 300 --remove-orphans --exit-code-from node-dev4950      - name: Stop running containers51        if: always()                   # run this step always52        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" down53        54      - name: Remove builder cache55        if: always()                   # run this step always56        run: |57          docker builder prune -f -a58          docker system prune -f59          docker image prune -f -a
after · .github/workflows/unit-test_v2.yml
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586738699/Unit+Tests2# Re-Usable Workflow for lanching Unit tests3name: unit tests45# Controls when the action will run.6# Triger: only call from main workflow(re-usable workflows)7on:8  workflow_call:910# A workflow run is made up of one or more jobs that can run sequentially or in parallel11jobs:12  13  unit_tests:14    # The type of runner that the job will run on15    runs-on: [self-hosted-ci,medium]16    timeout-minutes: 13801718    name: ${{ github.base_ref }}1920    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.212223    steps:2425      - name: Clean Workspace26        uses: AutoModality/action-clean@v1.1.02728      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it29      - uses: actions/checkout@v330        with:31          ref: ${{ github.head_ref }}  #Checking out head commit3233      - name: Read .env file34        uses: xom9ikk/dotenv@v1.0.23536      - name: Generate ENV related extend file for docker-compose37        uses: cuchi/jinja2-action@v1.2.038        with:39          template: .docker/docker-compose.tmp-unit.j240          output_file: .docker/docker-compose.unit.yml41          variables: |42            RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}43    4445      - name: Show build configuration46        run: cat .docker/docker-compose.unit.yml4748      - name: Build the stack49        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" up --build  --force-recreate --timeout 300 --remove-orphans --exit-code-from node-dev5051      - name: Stop running containers52        if: always()                   # run this step always53        run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" down54        55      - name: Remove builder cache56        if: always()                   # run this step always57        run: |58          docker builder prune -f -a59          docker system prune -f60          docker image prune -f -a