From e0f291d911a01cf985ee3a50d46b7adf4114b991 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Mon, 13 Jul 2026 20:21:45 +0800 Subject: [PATCH] fix(ci): use python3 -m pip instead of bare pip for compatibility On CentOS with source-compiled Python 3.10, 'pip' command may not be in PATH. Use 'python3 -m pip' which works everywhere. --- .gitea/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 81bc299aa..29a09841c 100755 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -397,7 +397,7 @@ jobs: shell: sh run: | set -eu - pip install -q pytest-rerunfailures + python3 -m pip install -q pytest-rerunfailures PYTHONPATH="$PWD/apps/api:$PWD" python3 -m coverage run --append \ --source=apps/api/app,packages \ --omit="*/migrations/*,*/tests/*,*/test_*.py,*/site-packages/*" \