mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-17 13:27:27 +03:00
run pytest for build
This commit is contained in:
parent
fa9511ff69
commit
cc11c200d3
@ -18,6 +18,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
checkPhase = ''
|
||||
echo -e "\x1b[32m## run black\x1b[0m"
|
||||
LC_ALL=en_US.utf-8 black --check .
|
||||
echo -e "\x1b[32m## run pytest\x1b[0m"
|
||||
py.test -s .
|
||||
echo -e "\x1b[32m## run flake8\x1b[0m"
|
||||
flake8 nix_update
|
||||
echo -e "\x1b[32m## run mypy\x1b[0m"
|
||||
|
Loading…
Reference in New Issue
Block a user