CI: optimise (use container with all deps for the runner)
Some checks failed
/ build (push) Failing after 14s

This commit is contained in:
phil 2024-11-02 05:21:05 +01:00
parent 50a2a2ec8f
commit 32e499e2cc
2 changed files with 12 additions and 2 deletions

10
Containerfile.ci Normal file
View file

@ -0,0 +1,10 @@
# Build: podman build -t treetrail-backend-ci -f Containerfile.ci
FROM tiptop:5000/python-ci
COPY ./pyproject.toml ./README.md ./uv.lock /_lock/
RUN --mount=type=cache,target=/root/.cache <<EOT
cd /_lock
uv sync --locked --no-dev --no-install-project
EOT