fix: simplify CI workflow to rely on pre-installed Python and pip
This commit is contained in:
@@ -14,13 +14,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Check Python
|
||||||
run: |
|
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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -e ".[dev]"
|
pip3 install -e ".[dev]" || pip install -e ".[dev]"
|
||||||
|
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: |
|
run: |
|
||||||
@@ -42,17 +43,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Check Python
|
||||||
run: |
|
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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -e .
|
pip3 install -e . || pip install -e .
|
||||||
|
|
||||||
- name: Verify import
|
- name: Verify import
|
||||||
run: |
|
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
|
- name: Verify CLI
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user