fix: move pytest to nativeBuildInputs so it's available in checkPhase
This commit is contained in:
@@ -21,18 +21,16 @@
|
|||||||
python
|
python
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
wheel
|
||||||
|
pytest
|
||||||
|
pytest-asyncio
|
||||||
];
|
];
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
pyyaml
|
pyyaml
|
||||||
pydantic
|
pydantic
|
||||||
];
|
];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkInputs = with pythonPackages; [
|
|
||||||
pytest
|
|
||||||
pytest-asyncio
|
|
||||||
];
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest tests/ -x --tb=short -q
|
python -m pytest tests/ -x --tb=short -q
|
||||||
'';
|
'';
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
pyprojectFiles = [ "pyproject.toml" ];
|
pyprojectFiles = [ "pyproject.toml" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user