fix: CI with python installation
Some checks failed
CI / test (push) Failing after 10s

This commit is contained in:
2026-03-22 17:07:08 +00:00
parent ad458fe5d4
commit 88797e4c27

View File

@@ -8,14 +8,19 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check environment
- name: Install Python
run: |
echo "PATH=$PATH"
which python || echo "python not found"
which python3 || echo "python3 not found"
which pip || echo "pip not found"
which pip3 || echo "pip3 not found"
ls /usr/bin/python* 2>/dev/null || echo "No python in /usr/bin"
ls /usr/local/bin/python* 2>/dev/null || echo "No python in /usr/local/bin"
- name: Check OS
run: cat /etc/os-release
apt-get update -qq
apt-get install -y -qq python3 python3-pip
- name: Verify Python
run: |
python3 --version
pip3 --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