-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (28 loc) · 874 Bytes
/
tox.ini
File metadata and controls
30 lines (28 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist =
py{310,311}-dj{42,52},
py312-dj{42,52,60},
py{313,314}-dj{52,60}
[testenv]
usedevelop = true
extras = test
commands =
rm -rf responsediff/tests/response_fixtures/MixinTest.test_assertWebsiteSame/
rm -rf responsediff/tests/response_fixtures/MixinTest.test_recursion/
rm -rf responsediff/tests/response_fixtures/TestResponseDiff.test_story.content
rm -rf responsediff/tests/response_fixtures/TestResponseDiff.test_story.metadata
pytest -vv --cov=responsediff --strict-markers -r fEsxXw {posargs:responsediff}
allowlist_externals =
rm
deps =
dj42: Django>=4.2,<5.0
dj52: Django>=5.2,<6.0
dj60: Django>=6.0,<7.0
setenv =
DJANGO_SETTINGS_MODULE=responsediff.tests.project.settings
passenv = TEST_*, DBDIFF_*, FIXTURE_*
[testenv:qa]
basepython = python3.12
extras = lint
commands =
ruff check responsediff