From a93ae20779cfc622e42b6648a002f961a96cb399 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 23 Oct 2024 16:58:04 +0200 Subject: [PATCH] CI container with uv --- .forgejo/workflows/install.yaml | 2 +- Containerfile.backend_ci_base | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/install.yaml b/.forgejo/workflows/install.yaml index 1e272a0..780a922 100644 --- a/.forgejo/workflows/install.yaml +++ b/.forgejo/workflows/install.yaml @@ -10,6 +10,6 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install dependencies - run: uv install + run: uv pip install --system . - name: Run basic test (bootstrap) run: .venv/bin/pytest -s tests/basic.py diff --git a/Containerfile.backend_ci_base b/Containerfile.backend_ci_base index 99feecd..4ed805e 100644 --- a/Containerfile.backend_ci_base +++ b/Containerfile.backend_ci_base @@ -3,7 +3,7 @@ MAINTAINER philo email phil.dev@philome.mooo.com RUN apt update RUN apt install --no-install-recommends -y python-is-python3 python3-pip python3-venv nodejs git -RUN pip install --break-system-packages pdm +RUN pip install --break-system-packages uv RUN apt-get clean && \ rm -rf /var/lib/apt/lists/*