mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-12-15 21:41:17 +01:00
run-tests: drop broken shell escapes
There are not shown properly in github actions, so let's not bother.
This commit is contained in:
parent
078b023769
commit
bd05959143
1 changed files with 5 additions and 5 deletions
|
|
@ -8,15 +8,15 @@
|
||||||
writeScript "run-tests" ''
|
writeScript "run-tests" ''
|
||||||
set -e
|
set -e
|
||||||
PATH="''${PATH}''${PATH:+":"}${direnv}/bin"
|
PATH="''${PATH}''${PATH:+":"}${direnv}/bin"
|
||||||
echo -e "\x1b[32m## run shellcheck\x1b[0m"
|
echo run shellcheck
|
||||||
${shellcheck}/bin/shellcheck direnvrc
|
${shellcheck}/bin/shellcheck direnvrc
|
||||||
echo -e "\x1b[32m## run black\x1b[0m"
|
echo run black
|
||||||
LC_ALL=en_US.utf-8 ${python3.pkgs.black}/bin/black --check .
|
LC_ALL=en_US.utf-8 ${python3.pkgs.black}/bin/black --check .
|
||||||
echo -e "\x1b[32m## run flake8\x1b[0m"
|
echo run flake8
|
||||||
${python3.pkgs.flake8}/bin/flake8 --ignore E501 tests
|
${python3.pkgs.flake8}/bin/flake8 --ignore E501 tests
|
||||||
echo -e "\x1b[32m## run mypy\x1b[0m"
|
echo run mypy
|
||||||
${mypy}/bin/mypy tests
|
${mypy}/bin/mypy tests
|
||||||
|
|
||||||
echo -e "\x1b[32m## run unittest\x1b[0m"
|
echo run unittest
|
||||||
${python3.pkgs.pytest}/bin/pytest .
|
${python3.pkgs.pytest}/bin/pytest .
|
||||||
''
|
''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue