From a1e606637461c38f8e4974ce163206a09655b9dd Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 13 Sep 2025 20:18:59 +0800 Subject: [PATCH] Use prepackaged uv image for tests --- .woodpecker/.test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index cfd9696..ed745b9 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -3,7 +3,7 @@ labels: steps: - name: test - image: python:3.13.7-slim + image: astral/uv:python3.13-trixie-slim environment: BACKEND_SECRET_KEY: from_secret: BACKEND_SECRET_KEY @@ -50,9 +50,7 @@ steps: CACHE_PASSWORD: from_secret: CACHE_PASSWORD commands: - - apt-get update && apt-get install -y --no-install-recommends curl build-essential && rm -rf /var/lib/apt/lists/* - - curl -LsSf https://astral.sh/uv/install.sh | sh - - uv sync --frozen --compile-bytecode + - uv sync --frozen - pytest src/ - name: discord image: appleboy/drone-discord