fix: resolve CI workflow PATH issues by adding python -m prefix
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
pip install -e ".[dev]"
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --tb=short
|
||||
run: python -m pytest tests/test_config.py tests/test_explainer.py tests/test_generation.py tests/test_history.py tests/test_integration.py tests/test_ollama_client.py tests/test_refactoring.py -v --tb=short
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
run: pip install ruff>=0.1.0
|
||||
|
||||
- name: Run ruff linter
|
||||
run: ruff check src/promptforge/ tests/
|
||||
run: python -m ruff check src/promptforge/ tests/
|
||||
|
||||
type-check:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -51,4 +51,4 @@ jobs:
|
||||
run: pip install mypy>=1.0.0
|
||||
|
||||
- name: Run mypy type checker
|
||||
run: mypy src/promptforge/ --ignore-missing-imports
|
||||
run: python -m mypy src/promptforge/ --ignore-missing-imports
|
||||
|
||||
Reference in New Issue
Block a user