File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed
Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 6060 python-version : ' 3.13'
6161
6262 - name : Install dependencies
63- run : pip install -e .[documentation]
63+ run : pip install . --group docs
6464
6565 # Start mkdocs server and wait for it to be ready
6666 - run : mkdocs serve &
Original file line number Diff line number Diff line change @@ -10,35 +10,45 @@ envlist =
1010 docs
1111
1212[testenv]
13- commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --coverage {posargs}
13+ commands =
14+ python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --coverage {posargs}
1415envdir = {toxworkdir}/venvs/{envname}
1516setenv =
1617 PYTHONDONTWRITEBYTECODE =1
1718 PYTHONWARNINGS =once
19+ dependency_groups =
20+ test
21+ optional
1822deps =
1923 django42: Django>=4.2,<5.0
2024 django50: Django>=5.0,<5.1
2125 django51: Django>=5.1,<5.2
2226 django52: Django>=5.2,<6.0
2327 django60: Django>=6.0,<6.1
2428 djangomain: https://github.com/django/django/archive/main.tar.gz
25- .[testing,optional]
2629
2730[testenv:base]
2831; Ensure optional dependencies are not required
32+ dependency_groups =
33+ test
2934deps =
30- .[testing]
3135
3236[testenv:dist]
33- commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
37+ commands =
38+ python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
39+ dependency_groups =
40+ test
41+ optional
3442deps =
35- .[testing,optional]
3643
3744[testenv:docs]
3845skip_install = true
39- commands = mkdocs build
46+ commands =
47+ mkdocs build
48+ dependency_groups =
49+ test
50+ docs
4051deps =
41- .[testing,documentation]
4252
4353[testenv:py312-djangomain]
4454ignore_outcome = true
You can’t perform that action at this time.
0 commit comments