From b274deda77d48575a0fbdc1dc354893fa3597b3d Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sat, 6 Feb 2021 17:18:28 +0100 Subject: Updated tox.ini to test valgrind --- tox.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index d391b12..8db5d81 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,27 @@ envlist = py36,py37,py38,py39 [testenv] +passenv = + * + deps = flake8 mypy + +allowlist_externals = + git + rm + valgrind + +commands_pre = + git clone --recurse-submodules git://git.cacharle.xyz/minishell /tmp/minishell + pip install -e . + commands = flake8 minishell_test mypy minishell_test + python -m minishell_test -p /tmp/minishell + python -m minishell_test -p /tmp/minishell -k pwd + +commands_post = + rm -rf /tmp/minishell -- cgit