difftreelog
Update unit-test_v2.yml
in: master
1 file changed
.github/workflows/unit-test_v2.ymldiffbeforeafterboth1name: unit tests23# Controls when the action will run.4on:5 # Triggers the workflow on push or pull request events but only for the master branch6 workflow_call:78# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:10 11 unit_tests:12 # The type of runner that the job will run on13 runs-on: [self-hosted-ci,medium]14 timeout-minutes: 13801516 name: ${{ github.base_ref }}1718 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.192021 steps:2223 - name: Clean Workspace24 uses: AutoModality/action-clean@v1.1.02526 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it27 - uses: actions/checkout@v328 with:29 ref: ${{ github.head_ref }} #Checking out head commit3031 - name: Read .env file32 uses: xom9ikk/dotenv@v1.0.23334 - name: Generate ENV related extend file for docker-compose35 uses: cuchi/jinja2-action@v1.2.036 with:37 template: .docker/docker-compose.tmp-unit.j238 output_file: .docker/docker-compose.unit.yml39 variables: |40 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}41 4243 - name: Show build configuration44 run: cat .docker/docker-compose.unit.yml4546 - name: Build the stack47 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-dev4849 - name: Stop running containers50 if: always() # run this step always51 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" down