From c7d272d349cd656351020fe23a8dbc150a4c742d Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Mon, 27 Apr 2020 19:42:52 +0200 Subject: [PATCH] Install dependencies for linter --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index c6d978b96..64c674b90 100644 --- a/tox.ini +++ b/tox.ini @@ -7,9 +7,12 @@ envlist = py37,py38 whitelist_externals = poetry skip_install = true envdir = {toxworkdir}/globalenv -commands_pre = ./dev.sh install-all +commands_pre = + - sudo apt update + - sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3.7-dev -y + - ./dev.sh install-all commands = - poetry run pytest --cov=. {posargs} aleksis/ apps/official/ + - poetry run pytest --cov=. {posargs} aleksis/ apps/official/ [testenv:selenium] setenv = -- GitLab