File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 MINISTACK_ACCOUNT_ID : " 000000000000"
4141 MINISTACK_REGION : us-east-1
4242 LOG_LEVEL : INFO
43- options : >-
44- --health-cmd "curl -f http://localhost:4566/_ministack/health"
45- --health-interval 2s
46- --health-timeout 5s
47- --health-retries 30
48- --health-start-period 5s
4943 steps :
5044 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5145 with :
5953 python-version : ${{ matrix.python-version }}
6054 - name : Install Dependencies
6155 run : uv sync --all-extras
56+ - name : Wait for ministack
57+ run : |
58+ for i in {1..60}; do
59+ if curl -fsS http://localhost:4566/_localstack/health >/dev/null; then
60+ echo "ministack is up"
61+ exit 0
62+ fi
63+ sleep 2
64+ done
65+ echo "ministack failed to start; dumping container logs:"
66+ docker ps -a
67+ docker logs "$(docker ps -aq --filter ancestor=ministackorg/ministack:1.3.53)" || true
68+ exit 1
6269 - name : Run tests
6370 run : uv run pytest
You can’t perform that action at this time.
0 commit comments