Skip to content

Commit b5f158d

Browse files
committed
.
1 parent 2ed43eb commit b5f158d

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ignore_missing_imports = true
113113

114114
[tool.coverage.run]
115115
parallel = true
116-
source = ["pytest_django"]
116+
source = ["${PYTESTDJANGO_COVERAGE_SRC}."]
117117
branch = true
118118
[tool.coverage.report]
119119
include = [

tox.ini

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ deps =
2121
dj50: Django>=5.0,<5.1
2222
dj42: Django>=4.2,<4.3
2323

24-
mysql: mysqlclient==2.2.7
25-
26-
postgres: psycopg[binary]
27-
coverage: coverage[toml]
28-
coverage: coverage-enable-subprocess
29-
3024
pytestmin: pytest>=7.0,<7.1
3125

3226
setenv =
@@ -39,6 +33,7 @@ setenv =
3933
coverage: PYTESTDJANGO_TEST_RUNNER=coverage run -m pytest
4034
coverage: COVERAGE_PROCESS_START={toxinidir}/pyproject.toml
4135
coverage: COVERAGE_FILE={toxinidir}/.coverage
36+
coverage: PYTESTDJANGO_COVERAGE_SRC={toxinidir}/
4237

4338
passenv = PYTEST_ADDOPTS,TERM,TEST_DB_USER,TEST_DB_PASSWORD,TEST_DB_HOST
4439
usedevelop = True

0 commit comments

Comments
 (0)