Files
agentic-codebase-memory-man…/.gitea/workflows/ci.yml
7000pctAUTO 6d0b791afb
Some checks failed
CI / test (push) Has been cancelled
fix: use 'linux' runner and install python if missing
2026-03-22 17:01:29 +00:00

38 lines
821 B
YAML

name: CI
on:
push:
branches: [ main ]
jobs:
test:
runs-on: linux
steps:
- name: Debug
run: |
echo "Runner: $OSTYPE"
id
pwd
- name: Install Python
run: |
if command -v python3 &> /dev/null; then
echo "Python3 found"
python3 --version
else
echo "Python3 not found, installing..."
apt-get update -qq
apt-get install -y -qq python3 python3-pip > /dev/null 2>&1
python3 --version
fi
- name: Install deps
run: |
pip3 install -e ".[dev]" --quiet
- name: Lint
run: |
ruff check src/
- name: Type check
run: |
mypy src/
- name: Test
run: |
pytest tests/ -v