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: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check environment - name: Install Python
run: | run: |
echo "PATH=$PATH" apt-get update -qq
which python || echo "python not found" apt-get install -y -qq python3 python3-pip
which python3 || echo "python3 not found" - name: Verify Python
which pip || echo "pip not found" run: |
which pip3 || echo "pip3 not found" python3 --version
ls /usr/bin/python* 2>/dev/null || echo "No python in /usr/bin" pip3 --version
ls /usr/local/bin/python* 2>/dev/null || echo "No python in /usr/local/bin" - name: Install deps
- name: Check OS run: pip3 install -e ".[dev]"
run: cat /etc/os-release - name: Lint
run: ruff check src/
- name: Type check
run: mypy src/
- name: Test
run: pytest tests/ -v