[tox] envlist = py39 skipsdist = True [testenv] # install pytest in the virtualenv where commands will be executed setenv = S2N_INTEG_TEST = 1 passenv = DYLD_LIBRARY_PATH, LD_LIBRARY_PATH, OQS_OPENSSL_1_1_1_INSTALL_DIR, HOME, TOX_TEST_NAME ignore_errors=False deps = pep8 pytest==5.3.5 pytest-xdist==1.34.0 sslyze==5.0.2 pytest-rerunfailures commands = pytest -x -n={env:XDIST_WORKERS:"2"} --maxfail=1 --reruns=2 --cache-clear -rpfsq \ -o log_cli=true --log-cli-level=INFO \ --provider-version={env:S2N_LIBCRYPTO} \ --provider-criterion={env:S2N_USE_CRITERION:"off"} \ --fips-mode={env:S2N_TEST_IN_FIPS_MODE:"0"} \ --no-pq={env:S2N_NO_PQ:"0"} \ {env:TOX_TEST_NAME:""}