diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1af2464..a86761e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,9 +31,6 @@ jobs: - name: Check app is running run: | - sleep 10 - STATUS=$(docker inspect ${CONTAINER_ID} | jq -r '.[0]["State"]["Status"]') - if [ "${STATUS}" != "running" ]; then - echo "App is not running" - exit 1 - fi + sleep 10 # give the app enough time to start + docker logs ${CONTAINER_ID} 2>&1 | tee log.txt + grep 'Press CTRL+C to quit' log.txt