From 8dd540e28a99a19f53c7bf9b781d9dc93bd45b08 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 17:12:46 +0000 Subject: [PATCH] fix: minimal debug to find Python --- .gitea/workflows/ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b18c6f2..da168c2 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,19 +8,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Find Python + - name: Check /opt run: | - find / -name "python*" -type f 2>/dev/null | head -20 - echo "---" - which python3 || echo "python3 not in PATH" - echo "---" - ls -la /usr/bin/python* 2>/dev/null || echo "No python in /usr/bin" - echo "---" - ls -la /usr/local/bin/python* 2>/dev/null || echo "No python in /usr/local/bin" - - name: Try pip3 + ls -la /opt/ 2>/dev/null || echo "No /opt" + ls -la /home/ 2>/dev/null || echo "No /home" + df -h + - name: Check env run: | - which pip3 || echo "pip3 not in PATH" - pip3 --version || echo "pip3 failed" - - name: Install using pip3 + echo "HOME=$HOME" + echo "PATH=$PATH" + echo "USER=$(whoami)" + - name: Check installed packages run: | - pip3 install -e ".[dev]" || echo "pip3 install failed" \ No newline at end of file + dpkg -l | grep -i python || echo "No python packages found" + - name: Try pip + run: | + pip3 install -e ".[dev]" || pip install -e ".[dev]" || echo "pip not available" \ No newline at end of file