Add pytest suite and Gitea Actions CI/CD pipeline
CI / build-and-scan (pull_request) Successful in 56s

83 tests (94% coverage of src/py) covering the builder pipeline
(gallery sync, HTML/CSS generation, image processing, full site
build) and the Flask webui (routes, uploads, theme/font management).

Dockerfile gains a `test` stage (pytest) between the wheel builder
and the prod image, and pins the alpine base to a full patch tag so
Renovate can classify updates. CI workflow builds, smoke-tests, runs
the suite, scans with Trivy, and publishes/releases on merge to main,
following the same pipeline already running on adguard-cidre.
This commit is contained in:
Djeex
2026-08-23 10:24:02 +02:00
parent fc5b1c4234
commit 142a48ad5e
15 changed files with 1232 additions and 3 deletions
+5 -1
View File
@@ -2,5 +2,9 @@
!.env
!.sh
!.gitignore
!.gitea
!.gitea/**
output/
__pycache__/
__pycache__/
htmlcov/
site_output.zip