git-machete: remove postCheck and references to pytest

This commit is contained in:
Pawel Lipski 2022-02-22 10:27:54 +01:00
parent 68c8eaedb8
commit 43feb0f898

View file

@ -3,7 +3,6 @@
, fetchFromGitHub
, installShellFiles
, git
, pytest
, nix-update-script
, testVersion
, git-machete
@ -22,29 +21,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ installShellFiles ];
checkInputs = [ git pytest ];
### Maybe not needed at all? since `python setup.py test` is executed anyway?
/*
Executing setuptoolsCheckPhase
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing git_machete.egg-info/PKG-INFO
writing dependency_links to git_machete.egg-info/dependency_links.txt
writing top-level names to git_machete.egg-info/top_level.txt
reading manifest file 'git_machete.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'git_machete.egg-info/SOURCES.txt'
running build_ext
test_add (git_machete.tests.functional.test_machete.MacheteTester)
Verify behaviour of a 'git machete add' command. ... ok
....
*/
postCheck = ''
pytest
'';
checkInputs = [ git ];
postInstall = ''
installShellCompletion --bash --name git-machete completion/git-machete.completion.bash