git.delta.rocks / unique-network / refs/commits / 8d846806d507

difftreelog

Update unit-test_v2.yml

Alex2022-10-19parent: #4f01d22.patch.diff
in: master

1 file changed

modified.github/workflows/unit-test_v2.ymldiffbeforeafterboth
1# Re-Usable Workflow for lanching Unit tests
1name: unit tests2name: unit tests
23
3# Controls when the action will run.4# Controls when the action will run.
5# Triger: only call from main workflow(re-usable workflows)
4on:6on:
5 # Triggers the workflow on push or pull request events but only for the master branch
6 workflow_call:7 workflow_call:
78
8# A workflow run is made up of one or more jobs that can run sequentially or in parallel9# A workflow run is made up of one or more jobs that can run sequentially or in parallel
50 if: always() # run this step always51 if: always() # run this step always
51 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" down52 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.unit.yml" down
53
54 - name: Remove builder cache
55 if: always() # run this step always
56 run: |
57 docker builder prune -f -a
58 docker system prune -f
59 docker image prune -f -a
5260