deploy: include matrix channel in dependency + channel gates
Test Suite / Detect changes (push) Canceled after 0s
Test Suite / Python (Windows, 3.14) (push) Canceled after 0s
Test Suite / Python (minimum, 3.11) (push) Canceled after 0s
Test Suite / Python (latest, 3.14 + coverage) (push) Canceled after 0s
Test Suite / Python (Windows process compatibility) (push) Canceled after 0s
Test Suite / Python (Windows installer compatibility) (push) Canceled after 0s
Test Suite / WebUI static checks (push) Canceled after 0s
Test Suite / WebUI production build (push) Canceled after 0s
Test Suite / WebUI unit and coverage (push) Canceled after 0s
Test Suite / WebUI browser (1/4) (push) Canceled after 0s
Test Suite / WebUI browser (2/4) (push) Canceled after 0s
Test Suite / WebUI browser (3/4) (push) Canceled after 0s
Test Suite / WebUI browser (4/4) (push) Canceled after 0s
Test Suite / webui (push) Canceled after 0s
Test Suite / Terminal UI (Windows) (push) Canceled after 0s
Test Suite / Terminal UI (push) Canceled after 0s
Test Suite / Native package acceptance (push) Canceled after 0s
Test Suite / docker (push) Canceled after 0s
Test Suite / CI required (push) Canceled after 0s

(cherry picked from commit c07543386d)
This commit is contained in:
nanobot committed 2026-11-22 19:00:13 +08:00
1 parent beccb382df
commit 10939c7da5
1 file changed
+3 -3
+3 -3
View File
@@ -22,9 +22,9 @@ SERVICE="nanobot"
# importable in the venv BEFORE the service is touched, and (2) after restart, # importable in the venv BEFORE the service is touched, and (2) after restart,
# every expected channel shows up in the startup "Channels enabled" line and # every expected channel shows up in the startup "Channels enabled" line and
# nothing logs "Unknown channel". Keep these in sync with config.json. # nothing logs "Unknown channel". Keep these in sync with config.json.
REQUIRED_IMPORTS="telegram websockets" # python module names REQUIRED_IMPORTS="telegram websockets nio" # python module names (nio = matrix-nio)
REQUIRED_PACKAGES="python-telegram-bot websockets" # matching PyPI names (module 'telegram' != package 'telegram'!) REQUIRED_PACKAGES="python-telegram-bot websockets matrix-nio" # matching PyPI names (module 'telegram' != package 'telegram'!)
REQUIRED_CHANNELS="telegram websocket" # expected in 'Channels enabled:' startup line REQUIRED_CHANNELS="telegram websocket matrix" # expected in 'Channels enabled:' startup line
export XDG_RUNTIME_DIR=/run/user/1000 export XDG_RUNTIME_DIR=/run/user/1000
log() { echo "[deploy] $(date '+%H:%M:%S') $*"; } log() { echo "[deploy] $(date '+%H:%M:%S') $*"; }