Skip to content

Commit

Permalink
fix status check in docker-compose-up-test.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed May 13, 2024
1 parent 49f7897 commit 6ecb355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-compose-up-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Check services running
run: |
if docker compose ps -aq | xargs docker inspect -f '{{ .State.Status }}' | grep -v running; then
if docker compose ps -a --filter="status=exited" --services | grep -v anvil-advance-chain-script | xargs grep -q; then
echo "Some services are not running"
exit 1
fi
Expand Down

0 comments on commit 6ecb355

Please sign in to comment.