Files
agentic-codebase-memory-man…/.gitea/workflows/ci.yml
7000pctAUTO 8e058aeefc
Some checks failed
CI / test (push) Failing after 2s
fix: try downloading Python directly
2026-03-22 17:16:37 +00:00

31 lines
831 B
YAML

name: CI
on:
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check system
run: |
uname -a
cat /etc/os-release 2>/dev/null | head -5
- name: Install Python
run: |
if ! command -v python3 &> /dev/null; then
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py
curl -sSL https://www.python.org/ftp/python/3.11.0/python-3.11.0-linux-x86_64.tar.gz -o python.tar.gz
tar -xzf python.tar.gz
export PATH="/app/python-3.11.0:$PATH"
fi
python3 --version
- name: Install deps
run: pip3 install -e ".[dev]"
- name: Lint
run: ruff check src/
- name: Type check
run: mypy src/
- name: Test
run: pytest tests/ -v