name: Test Suite on: push: branches: [develop] workflow_run: workflows: ["Deploy Development"] types: [completed] workflow_dispatch: jobs: smoke-dev: if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: - name: Non-destructive smoke against the running Dev API run: | set -e echo "wait for live Dev API (buyingagent-dev)" for i in $(seq 1 60); do if curl -sf http://localhost:8095/health/live >/dev/null; then echo "DEV /health/live ready (attempt $i)" break fi if [ "$i" -eq 60 ]; then echo "timeout waiting for DEV /health/live" exit 1 fi sleep 5 done curl -sf http://localhost:8095/health/live echo curl -sf http://localhost:8095/health/ready echo echo "LAN smoke OK: http://192.168.2.49:8095"