Add consolidated MVP route/read-only tests, path-filter helpers, and scripts/test-webui plus scripts/ci-webui-check for Jenkins path-filtered runs on PRs touching web UI surfaces. Closes #436
13 lines
408 B
Bash
Executable File
13 lines
408 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
repo_root="$(cd "$script_dir/.." && pwd)"
|
|
cd "$repo_root"
|
|
|
|
python_bin="${WEBUI_TEST_PYTHON:-python3}"
|
|
if [[ -x "$repo_root/venv/bin/python" ]]; then
|
|
python_bin="$repo_root/venv/bin/python"
|
|
fi
|
|
|
|
pattern="${WEBUI_TEST_PATTERN:-test_webui_*.py}"
|
|
exec "$python_bin" -m unittest discover -s tests -p "$pattern" "$@" |