Files
agentic-codebase-memory-man…/.gitea/workflows/ci.yml
7000pctAUTO 53bb25862c
Some checks failed
CI / test (push) Failing after 10s
CI / build (push) Has been skipped
fix: use Gitea-native CI workflow with direct bash commands instead of GitHub Actions
2026-03-22 16:56:41 +00:00

59 lines
1.3 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
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 .
- name: Set up Python
run: |
apt-get update && apt-get install -y python3.11 python3-pip
- name: Install dependencies
run: |
pip install -e ".[dev]"
- name: Run linting
run: |
ruff check src/
- name: Run type checking
run: |
mypy src/
- name: Run tests
run: |
pytest tests/ -v
build:
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: Set up Python
run: |
apt-get update && apt-get install -y python3.11 python3-pip
- name: Install dependencies
run: |
pip install -e .
- name: Verify import
run: |
python3 -c "import memory_manager; print(memory_manager.__version__)"
- name: Verify CLI
run: |
memory --version