bot docs: CI no longer runs the test suites; they run locally before a push
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,8 +10,10 @@ Your repo's Gitea Actions workflow builds a **release bundle**: one tar.gz holdi
|
||||
checks its signature and every checksum, swaps it into `/srv/bot/app` (bind-mounted at `/app`, previous
|
||||
release kept for `--rollback`) and restarts the container. The install log comes back in the CI job.
|
||||
|
||||
A branch or pull request runs the tests and builds the artifact, and deploys nothing. The python tests gate the
|
||||
build; the website's node tests are advisory and only add a warning when they fail.
|
||||
A branch or pull request builds the artifact and deploys nothing. The test jobs are commented out in the
|
||||
workflow — run `python -m pytest -q` and `node --test app/tests/*.test.js` locally before pushing. CI still
|
||||
refuses a bundle that cannot import from its own `vendor/`, or whose files do not match `BUILD.json`, and the
|
||||
deploy fails if the bot does not answer on its port after the swap.
|
||||
|
||||
## Your secrets live in Gitea
|
||||
|
||||
|
||||
Reference in New Issue
Block a user