fix: simplify CI workflow structure
Some checks failed
CI / test (push) Failing after 5s
CI / build (push) Has been skipped

This commit is contained in:
2026-03-22 16:58:59 +00:00
parent e6a8ca487b
commit 745ec89048

View File

@@ -2,36 +2,35 @@ name: CI
on: on:
push: push:
branches: [main] branches: [ main ]
pull_request: pull_request:
branches: [main] branches: [ main ]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - run: |
run: | echo "Testing CI..."
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git . python3 --version
pip3 --version
- name: Check Python - name: Checkout
run: | uses: actions/checkout@v4
which python3 || which python || echo "Python not found"
python3 --version || python --version || echo "Python version failed"
- name: Install dependencies - name: Install deps
run: | run: |
pip3 install -e ".[dev]" || pip install -e ".[dev]" pip3 install -e ".[dev]"
- name: Run linting - name: Lint
run: | run: |
ruff check src/ ruff check src/
- name: Run type checking - name: Type check
run: | run: |
mypy src/ mypy src/
- name: Run tests - name: Test
run: | run: |
pytest tests/ -v pytest tests/ -v
@@ -39,22 +38,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test
steps: steps:
- name: Checkout code - name: Checkout
run: | uses: actions/checkout@v4
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
- name: Check Python - name: Install deps
run: | run: |
which python3 || which python || echo "Python not found" pip3 install -e .
python3 --version || python --version || echo "Python version failed"
- name: Install dependencies
run: |
pip3 install -e . || pip install -e .
- name: Verify import - name: Verify import
run: | run: |
python3 -c "import memory_manager; print(memory_manager.__version__)" || python -c "import memory_manager; print(memory_manager.__version__)" python3 -c "import memory_manager; print(memory_manager.__version__)"
- name: Verify CLI - name: Verify CLI
run: | run: |