Files
Nexus/deploy/run_test_api_on_server.sh
T
2026-07-08 22:31:31 +08:00

7 lines
233 B
Bash

#!/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