ci: new regression test for the Python module

Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
d9pouces
2026-09-04 19:20:41 +02:00
parent 2c2b4fc340
commit a8435e9c96
16 changed files with 594 additions and 39 deletions
+5 -3
View File
@@ -1,7 +1,9 @@
FROM dhi.io/python:3.14-debian13 AS detection
FROM python:3.13-slim AS detection
FROM interdiode/id_configurator:latest AS configuration
COPY --from=detection / /src/
COPY ./tests/configs/Python.yaml /config.yaml
COPY --from=generated-config Python.yaml /config.yaml
RUN id-configurator apply --config /config.yaml --src /src --dst /dst
FROM dhi.io/python:3.14-debian13 AS runtime
FROM python:3.13-slim AS runtime
COPY --from=configuration /dst/ /
RUN pip install --no-cache-dir idconfiguratortestpkg \
&& python3 -c "import idconfiguratortestpkg"