fix: simplify CI workflow to rely on pre-installed Python and pip
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user