aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
blob: 10af4a5cacc359220394b5f466f20afe5e40ef3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[tox]
envlist = py36,py37,py38,py39
distshare = {homedir}/.cache/tox/distshare

[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