fix: simplify CI workflow structure
This commit is contained in:
@@ -10,28 +10,27 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
||||
- run: |
|
||||
echo "Testing CI..."
|
||||
python3 --version
|
||||
pip3 --version
|
||||
|
||||
- name: Check Python
|
||||
run: |
|
||||
which python3 || which python || echo "Python not found"
|
||||
python3 --version || python --version || echo "Python version failed"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install deps
|
||||
run: |
|
||||
pip3 install -e ".[dev]" || pip install -e ".[dev]"
|
||||
pip3 install -e ".[dev]"
|
||||
|
||||
- name: Run linting
|
||||
- name: Lint
|
||||
run: |
|
||||
ruff check src/
|
||||
|
||||
- name: Run type checking
|
||||
- name: Type check
|
||||
run: |
|
||||
mypy src/
|
||||
|
||||
- name: Run tests
|
||||
- name: Test
|
||||
run: |
|
||||
pytest tests/ -v
|
||||
|
||||
@@ -39,22 +38,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check Python
|
||||
- name: Install deps
|
||||
run: |
|
||||
which python3 || which python || echo "Python not found"
|
||||
python3 --version || python --version || echo "Python version failed"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip3 install -e . || pip install -e .
|
||||
pip3 install -e .
|
||||
|
||||
- name: Verify import
|
||||
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
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user