mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Support running tox -p
This commit is contained in:
parent
d97ac056d4
commit
fd169771df
3 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,7 +6,7 @@
|
|||
.idea
|
||||
.project
|
||||
.pydevproject
|
||||
.coverage
|
||||
.coverage*
|
||||
venv/
|
||||
.tox/
|
||||
local_settings.py
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ else:
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': POSTGRES_DRIVER,
|
||||
'NAME': 'auditlog_tests_db',
|
||||
'NAME': 'auditlog' + os.environ.get("TOX_PARALLEL_ENV", ""),
|
||||
'USER': 'postgres',
|
||||
'PASSWORD': '',
|
||||
'HOST': '127.0.0.1',
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -8,7 +8,7 @@ envlist =
|
|||
[testenv]
|
||||
setenv =
|
||||
PYTHONPATH = {toxinidir}:{toxinidir}/src/auditlog
|
||||
commands = coverage run --source src/auditlog src/runtests.py
|
||||
commands = coverage run -p --source src/auditlog src/runtests.py
|
||||
deps =
|
||||
django-111: Django>=1.11,<2.0
|
||||
django-20: Django>=2.0,<2.1
|
||||
|
|
|
|||
Loading…
Reference in a new issue