From e6a8ca487bfa1c340a04c0317cffd14dd400d4ee Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 22 Mar 2026 16:58:23 +0000 Subject: [PATCH] fix: simplify CI workflow to rely on pre-installed Python and pip --- .gitea/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c3c81c8..e6e7281 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,13 +14,14 @@ jobs: run: | git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git . - - name: Set up Python + - name: Check Python run: | - apt-get update && apt-get install -y python3.11 python3-pip + which python3 || which python || echo "Python not found" + python3 --version || python --version || echo "Python version failed" - name: Install dependencies run: | - pip install -e ".[dev]" + pip3 install -e ".[dev]" || pip install -e ".[dev]" - name: Run linting run: | @@ -42,17 +43,18 @@ jobs: run: | git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git . - - name: Set up Python + - name: Check Python run: | - apt-get update && apt-get install -y python3.11 python3-pip + which python3 || which python || echo "Python not found" + python3 --version || python --version || echo "Python version failed" - name: Install dependencies run: | - pip install -e . + pip3 install -e . || pip install -e . - name: Verify import run: | - python3 -c "import memory_manager; print(memory_manager.__version__)" + python3 -c "import memory_manager; print(memory_manager.__version__)" || python -c "import memory_manager; print(memory_manager.__version__)" - name: Verify CLI run: |