From f2b16574bf071be09c4ecff50641af2642daee43 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:28:30 +0000 Subject: [PATCH] Use pip3 with apt-get fallback --- .gitea/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 73c9db4..8c50c78 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,9 +8,9 @@ jobs: steps: - name: Install run: | - python3 -m ensurepip --upgrade 2>/dev/null || true - python3 -m pip install --upgrade pip - python3 -m pip install -e . - python3 -m pip install pytest + which pip3 || (apt-get update && apt-get install -y python3-pip) + pip3 install --upgrade pip setuptools wheel + pip3 install -e . + pip3 install pytest - name: Test - run: python3 -m pytest tests/ -v + run: pytest tests/ -v