fix: use python -m for mypy and pytest in CI to avoid PATH issues
Some checks failed
CI / test (3.10) (push) Failing after 4m53s
CI / test (3.11) (push) Failing after 4m55s
CI / test (3.12) (push) Failing after 4m55s
CI / build (push) Has been skipped

This commit is contained in:
2026-02-02 23:44:53 +00:00
parent 6b61582ae8
commit 68fda8bad6

View File

@@ -31,10 +31,10 @@ jobs:
run: ruff check .
- name: Type check with mypy
run: mypy src/ --python-version 3.10
run: python -m mypy src/ --python-version 3.10
- name: Run tests
run: pytest tests/ -v --cov=src --cov-report=xml
run: python -m pytest tests/ -v --cov=src --cov-report=xml
- name: Upload coverage
if: matrix.python-version == '3.11'