From c92fc10167a7cc4e43698daf82b8ac73ba5d88c2 Mon Sep 17 00:00:00 2001 From: "Prof. Dr. Matthias Jung DL9MJ" Date: Sun, 8 Dec 2024 10:44:51 +0100 Subject: [PATCH 1/4] bugfix: fix pipeline --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 01ba815..b91381f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,10 +4,8 @@ name: default steps: - name: 50ohm.de - image: debian:latest + image: ghcr.io/astral-sh/uv:python3.12-bookworm environment: commands: - - apt-get update && apt-get install -qyf --no-install-recommends python3 - - curl -LsSf https://astral.sh/uv/install.sh | sh - - pip install --break-system-packages `cat requirements.txt` + - uv pip install --break-system-packages `cat requirements.txt` - cd test && pytest \ No newline at end of file From e7f9ee9e15c0605ad25678bc52c1ba21ace0db2a Mon Sep 17 00:00:00 2001 From: "Prof. Dr. Matthias Jung DL9MJ" Date: Sun, 8 Dec 2024 10:46:33 +0100 Subject: [PATCH 2/4] bugfix: fix --system flag --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b91381f..cb2c401 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,5 +7,5 @@ steps: image: ghcr.io/astral-sh/uv:python3.12-bookworm environment: commands: - - uv pip install --break-system-packages `cat requirements.txt` + - uv pip install --system --break-system-packages `cat requirements.txt` - cd test && pytest \ No newline at end of file From a5102f64af864fef282b2b8904d389a85c6fbe6f Mon Sep 17 00:00:00 2001 From: "Prof. Dr. Matthias Jung DL9MJ" Date: Sun, 8 Dec 2024 10:53:42 +0100 Subject: [PATCH 3/4] feature: add test reporting --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index cb2c401..628225d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,4 +8,4 @@ steps: environment: commands: - uv pip install --system --break-system-packages `cat requirements.txt` - - cd test && pytest \ No newline at end of file + - cd test && pytest --junitxml=./test-reports/junit.xml From 4238b70cf8d1fda8b85630fbcc2f1fb3f31f7cb4 Mon Sep 17 00:00:00 2001 From: Tim Grelka DA2TG Date: Sun, 8 Dec 2024 10:46:43 +0000 Subject: [PATCH 4/4] Angewendeter Vorschlag --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 628225d..2dc868f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,5 +7,5 @@ steps: image: ghcr.io/astral-sh/uv:python3.12-bookworm environment: commands: - - uv pip install --system --break-system-packages `cat requirements.txt` + - uv pip install --system --break-system-packages --requirements requirements.txt - cd test && pytest --junitxml=./test-reports/junit.xml