fix: correct PYTHONPATH for CI compatibility
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
pip install -e ".[test]"
|
pip install -e ".[test]"
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: PYTHONPATH=/app/src:$PYTHONPATH pytest tests/unit/ tests/integration/ -v --tb=short
|
run: PYTHONPATH=src:$PYTHONPATH pytest tests/unit/ tests/integration/ -v --tb=short
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
- name: Install type checker
|
- name: Install type checker
|
||||||
run: pip install mypy>=1.0.0 types-toml
|
run: pip install mypy>=1.0.0
|
||||||
|
|
||||||
- name: Run mypy type checker
|
- name: Run mypy type checker
|
||||||
run: mypy src/depcheck/ --ignore-missing-imports
|
run: mypy src/depcheck/ --ignore-missing-imports
|
||||||
|
|||||||
Reference in New Issue
Block a user