Skip to content
Snippets Groups Projects

Do not install all apps

Merged Tom Teichler requested to merge only-test-core into master
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
+ 7
7
@@ -11,9 +11,9 @@ envdir = {toxworkdir}/globalenv
commands_pre =
- sudo apt update
- sudo apt install python3-ldap libldap2-dev libssl-dev libsasl2-dev python3.7-dev -y
- ./dev.sh install-all
- poetry install
commands =
- poetry run pytest --cov=. {posargs} aleksis/ apps/official/
- poetry run pytest --cov=. {posargs} aleksis/
[testenv:selenium]
setenv =
@@ -24,9 +24,9 @@ setenv =
[testenv:lint]
commands =
- poetry run black --check --diff aleksis/ apps/official/ --exclude "migrations"
- poetry run isort -c --diff --stdout -rc -s migrations aleksis/ apps/official/
poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/ apps/official/
- poetry run black --check --diff aleksis/ --exclude "migrations"
- poetry run isort -c --diff --stdout -rc -s migrations aleksis/
poetry run flake8 {posargs} --exclude-from-doctest migrations aleksis/
[testenv:security]
commands =
@@ -42,8 +42,8 @@ commands = poetry run make -C docs/ html {posargs}
[testenv:reformat]
commands =
poetry run isort -rc aleksis/ apps/official/
poetry run black aleksis/ apps/official/
poetry run isort -rc aleksis/
poetry run black aleksis/
[flake8]
max_line_length = 100
Loading