Add Gitea CI workflow
CI / Frontend build (push) Successful in 13s
CI / Script syntax (push) Successful in 3s
CI / Backend tests (push) Failing after 17s

This commit is contained in:
Codex
2026-07-15 01:10:59 +02:00
parent ca0269a146
commit f5997b47d9
3 changed files with 103 additions and 0 deletions
+21
View File
@@ -137,6 +137,27 @@ Optional environment variables:
The script creates a disabled backup job and, by default, queues it once. Only run it when you intentionally want a real Proxmox backup and rclone upload.
## CI
Gitea Actions workflow:
```text
.gitea/workflows/ci.yml
```
It runs on pushes and pull requests to `main` and can also be started manually. The workflow checks:
- backend dependency install and pytest;
- frontend dependency install and production build;
- shell script syntax.
Package caches are enabled through the Gitea Actions cache-compatible setup actions:
- Python/pip cache keyed by `backend/requirements.txt`;
- npm cache keyed by `frontend/package-lock.json`.
The Gitea runner must have action cache support configured for cache restore/save to work.
## Updates
After pulling new code, apply it with: