Add Gitea Actions CI: tests on Python 3.10-3.13 and shellcheck
CI / tests (Python 3.10) (pull_request) Failing after 4s
CI / tests (Python 3.11) (pull_request) Failing after 4s
CI / tests (Python 3.12) (pull_request) Failing after 3s
CI / tests (Python 3.13) (pull_request) Failing after 3s
CI / lint (pull_request) Successful in 4s
CI / tests (Python 3.10) (pull_request) Failing after 4s
CI / tests (Python 3.11) (pull_request) Failing after 4s
CI / tests (Python 3.12) (pull_request) Failing after 3s
CI / tests (Python 3.13) (pull_request) Failing after 3s
CI / lint (pull_request) Successful in 4s
The matrix covers the Python versions on Ubuntu 22.04/24.04 and Debian 12/13. make lint now includes deploy.sh, and its token check is rewritten as an if statement to satisfy shellcheck SC2015. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0b3ff991c
commit
792161edaa
4 files changed
+47
-3
No files matched your search
@@ -393,6 +393,10 @@ make test # unit + integration tests (stdlib unittest)
|
||||
make lint # shellcheck, if available
|
||||
```
|
||||
|
||||
Gitea Actions (`.gitea/workflows/ci.yml`) runs both on every push to `main`
|
||||
and every pull request: the tests on Python 3.10–3.13 (the versions on the
|
||||
supported Ubuntu and Debian releases) and shellcheck on the shell scripts.
|
||||
|
||||
The tests run a real server on an ephemeral port. They also run the real agent
|
||||
script against stubbed `dpkg-query`/`apt-get`/`needrestart`/`uname` and a fake
|
||||
filesystem root (`KERNELWATCH_ROOT`), including one end-to-end agent → server
|
||||
|
||||
Reference in new issue
Block a user