Skip to content

Commit

Permalink
Actually pass the INTEGRATION_TEST environment variable to the tox env.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Jul 3, 2024
1 parent d232e55 commit 3137a53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ allowlist_externals=
rm
make
sh
passenv = INTEGRATION_TEST
setenv =
KOLIBRI_HOME = {envtmpdir}/.kolibri
DJANGO_SETTINGS_MODULE = kolibri.deployment.default.settings.test
Expand All @@ -33,7 +34,9 @@ commands =
sh -c "if [ `cat {env:KOLIBRI_HOME}/logs/kolibri.txt | wc -l` -gt 200 ] ; then echo 'Log too long' && echo '' && tail -n 20 {env:KOLIBRI_HOME}/logs/kolibri.txt && exit 1 ; fi"

[testenv:postgres]
passenv = TOX_ENV
passenv =
TOX_ENV
INTEGRATION_TEST
setenv =
PYTHONPATH = {toxinidir}
KOLIBRI_HOME = {envtmpdir}/.kolibri
Expand Down

0 comments on commit 3137a53

Please sign in to comment.