From 3989e281c055735105d573449ce6f2051fc14ea3 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Thu, 4 Jun 2026 10:59:55 +0800 Subject: [PATCH] fix(ci): use explicit venv/bin/python instead of activate+python3 activate doesn't reliably shadow system python3 on the VPS runner. Using the explicit venv path matches what the cache validation check already uses. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index cc434de..710f5f1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -88,8 +88,7 @@ jobs: - name: Run tests with coverage run: | cd dashboard/backend - . venv/bin/activate - python3 -m pytest tests/ -v --timeout=60 \ + venv/bin/python -m pytest tests/ -v --timeout=60 \ --cov=. --cov-report=xml --cov-report=term \ --junit-xml=test-results.xml \ --cov-fail-under=49