Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ylobankov committed Mar 1, 2024
1 parent 6dd5674 commit 1548fa2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1548fa2

Please sign in to comment.