Skip to content
Snippets Groups Projects
Verified Commit 5a0d8a76 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[Tests] Include official apps in test run

parent ce50b474
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,6 @@ case "$1" in ...@@ -15,7 +15,6 @@ case "$1" in
poetry run sh -c "cd $d; poetry install" poetry run sh -c "cd $d; poetry install"
done done
remove_pip_metadata remove_pip_metadata
poetry run ./manage.py migrate
poetry run ./manage.py compilemessages poetry run ./manage.py compilemessages
poetry run ./manage.py yarn install poetry run ./manage.py yarn install
poetry run ./manage.py collectstatic --no-input poetry run ./manage.py collectstatic --no-input
......
...@@ -7,12 +7,12 @@ envlist = py37,py38 ...@@ -7,12 +7,12 @@ envlist = py37,py38
whitelist_externals = poetry whitelist_externals = poetry
skip_install = true skip_install = true
envdir = {toxworkdir}/globalenv envdir = {toxworkdir}/globalenv
commands_pre = poetry install commands_pre = ./dev.sh install-all
commands = commands =
poetry run python manage.py compilemessages poetry run python manage.py compilemessages
poetry run python manage.py yarn install poetry run python manage.py yarn install
poetry run python manage.py collectstatic --no-input --clear poetry run python manage.py collectstatic --no-input --clear
poetry run pytest --cov=biscuit {posargs} biscuit/core/ poetry run pytest --cov=. {posargs} biscuit/ apps/official/
[testenv:selenium] [testenv:selenium]
setenv = setenv =
...@@ -77,3 +77,5 @@ junit_family = legacy ...@@ -77,3 +77,5 @@ junit_family = legacy
omit = omit =
*/migrations/* */migrations/*
*/tests/* */tests/*
.tox/*
manage.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment