Skip to content

Add timeout minutes 30 #7

Add timeout minutes 30

Add timeout minutes 30 #7

name: Test
on:
push:
branches:
- docker-compose
jobs:
docker:
timeout-minutes: 30
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build containers
run: sudo make docker_build
- name: Start containers
run: sudo make docker_up
- name: Logs
run: sleep 30 && sudo docker compose -f "docker-compose.yaml" logs
- name: Stop containers
if: always()
run: sudo docker compose -f "docker-compose.yaml" down