Commit c1006986 authored by Tom Moulard's avatar Tom Moulard
Browse files

action: fixing tests output and length

parent d95adf3d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ jobs:
      - name: Sleep for 30 seconds
        uses: jakejarvis/wait-action@master
        with:
          time: '30s'
          time: '10s'
      - name: Check running containers
        run: |
          docker-compose $(find -name 'docker-compose*.yml' -type f -printf '%p\t%d\n'  2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') \
@@ -41,4 +41,4 @@ jobs:
      - name: Check health
        run: |
          docker-compose $(find -name 'docker-compose*.yml' -type f -printf '%p\t%d\n'  2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') \
            ps | grep unhealthy; [ $? -eq 0 ] && exit 1
            ps | grep unhealthy; ([ $? -eq 0 ] && exit 1) || exit 0
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ services:
    restart: always
    healthcheck:
      test: ['CMD', 'curl', '0.0.0.0:80']
      interval: 30s
      interval: 10s
      timeout: 10s
      retries: 5
    labels: