Skip to content

Commit

Permalink
add docker live validation
Browse files Browse the repository at this point in the history
  • Loading branch information
canlopes committed Mar 27, 2023
1 parent 9522ba8 commit 6467f6e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,22 @@ jobs:
node-version: "16"
cache: "yarn"

- name: Check docker local network
run: |
CODE=`curl --write-out '%{http_code}' \
--silent \
--output /dev/null \
--request GET \
--url 'http://localhost:5050/is_alive' \
`
if [[ "$CODE" != "200" ]]
then
echo "Local network is offline! $CODE"
exit 1
else
echo "Local network is online."
fi
- name: Install dependencies
run: yarn setup

Expand Down

0 comments on commit 6467f6e

Please sign in to comment.