From e7ae2598970b0a4efead580eb4e55dc5fbf6444c Mon Sep 17 00:00:00 2001 From: bronsen Date: Fri, 20 Feb 2026 22:53:30 +0100 Subject: [PATCH] ci: move command line arguments into environment variables --- .woodpecker/workflow.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.woodpecker/workflow.yaml b/.woodpecker/workflow.yaml index 1160623..d58a33b 100644 --- a/.woodpecker/workflow.yaml +++ b/.woodpecker/workflow.yaml @@ -21,9 +21,14 @@ steps: - name: Run Tests image: docker.io/astral/uv:python${PYTHON_VERSION}-trixie-slim + environment: + UV_LINK_MODE: copy + PIP_DISABLE_PIP_VERSION_CHECK: true + PIP_REQUIRE_VIRTUALENV: true + PIP_QUIET: true commands: - python -m venv venv - . venv/bin/activate - - pip install --disable-pip-version-check --require-virtualenv --quiet uv==0.10.2 + - pip install uv==0.10.2 - uv run --active pytest tests.py # coverage: uv run pytest tests.py --cov-report= --cov=src # no cov report on terminal: useful for CI