fix: use python -m for mypy and pytest in CI to avoid PATH issues
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user