updated tox.ini

This commit is contained in:
Pravin Kamble 2025-12-07 19:36:53 +05:30
parent fff5e24179
commit b883295d37
3 changed files with 13 additions and 12 deletions

View File

@ -60,7 +60,7 @@ jobs:
python-version: '3.13' python-version: '3.13'
- name: Install dependencies - name: Install dependencies
run: pip install -e .[testing] run: pip install -e .[documentation]
# Start mkdocs server and wait for it to be ready # Start mkdocs server and wait for it to be ready
- run: mkdocs serve & - run: mkdocs serve &

View File

@ -72,6 +72,8 @@ optional-dependencies.testing = [
"pytest>=7.0.1,<8", "pytest>=7.0.1,<8",
"pytest-cov>=4,<5", "pytest-cov>=4,<5",
"pytest-django>=4.5.2,<5", "pytest-django>=4.5.2,<5",
# Remove when dropping support for Django<5.0
"pytz", "pytz",
] ]
urls.Changelog = "https://www.django-rest-framework.org/community/release-notes/" urls.Changelog = "https://www.django-rest-framework.org/community/release-notes/"

View File

@ -38,8 +38,7 @@ deps =
skip_install = true skip_install = true
commands = mkdocs build commands = mkdocs build
deps = deps =
.[testing, optional] .[testing,documentation]
[testenv:py312-djangomain] [testenv:py312-djangomain]
ignore_outcome = true ignore_outcome = true