Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Don't run regcore_pgsql tests in every env.
Browse files Browse the repository at this point in the history
The pgsql tests require `regcore_pgsql` be one of the installed apps. As
we don't have that configuration in each test environment (at least, at the
moment), specify which packages to test based on whether or not pgsql is part
of the environment.
  • Loading branch information
CM Lubinski committed Aug 8, 2017
1 parent 56cb4a5 commit 311e1c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ extras =
elastic: backend-elastic
haystack: backend-haystack
pgsql: backend-pgsql
commands = pytest --cov --cov-append
commands =
pytest --cov --cov-append regcore regcore_write regcore_read
pgsql: pytest --cov --cov-append regcore regcore_write regcore_read regcore_pgsql
setenv =
elastic: DJANGO_SETTINGS_MODULE = regcore.settings.elastic
pgsql: DJANGO_SETTINGS_MODULE = regcore.settings.pgsql
Expand Down

0 comments on commit 311e1c9

Please sign in to comment.