From 887ea3ffe9e59aee161e6058c2b569236f0d4fd4 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Mon, 19 Oct 2026 16:59:22 +0200 Subject: [PATCH] Fix Diun chart CI Python environment --- .gitea/workflows/chart.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/chart.yml b/.gitea/workflows/chart.yml index 81440f3..d0e06cc 100644 --- a/.gitea/workflows/chart.yml +++ b/.gitea/workflows/chart.yml @@ -21,10 +21,12 @@ jobs: uses: azure/setup-helm@v4 with: version: ${{ env.HELM_VERSION }} - - name: Install chart test dependency - run: python3 -m pip install --user PyYAML - name: Lint, render and test chart behavior - run: ./test.sh + run: | + set -euo pipefail + python3 -m venv "${RUNNER_TEMP}/diun-test-venv" + "${RUNNER_TEMP}/diun-test-venv/bin/pip" install PyYAML + PATH="${RUNNER_TEMP}/diun-test-venv/bin:${PATH}" ./test.sh publish: name: Publish and promote chart