Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed May 21, 2024
1 parent b9931dd commit 519b308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
docker images
# docker run -d --name test -p 9100:9100 ${{ steps.meta.outputs.tags }}
docker compose up -d
docker ps
docker compose ps
- name: Test the container
run: |
sleep 5
docker ps
sleep 10
docker compose ps -a
curl --silent --retry 3 --include http://127.0.0.1:9100/ping | grep "200 OK"
[ $? -ne 0 ] && (echo "error"; exit 1)
exit 0
Expand Down

0 comments on commit 519b308

Please sign in to comment.