#!/bin/bash # Run tests/test_api.py on the deploy host (reads NEXUS_TEST_* from .env). set -euo pipefail cd /www/wwwroot/api.synaglobal.vip export NEXUS_TEST_BASE="${NEXUS_TEST_BASE:-http://127.0.0.1:8600}" python3 tests/test_api.py