Skip to content

Commit b289544

Browse files
committed
Update installation commands for dependency groups in tox.ini and main.yml
1 parent 572793f commit b289544

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
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 &

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ deps =
2222
django52: Django>=5.2,<6.0
2323
django60: Django>=6.0,<6.1
2424
djangomain: https://github.com/django/django/archive/main.tar.gz
25-
.[testing,optional]
25+
. --group test --group optional
2626

2727
[testenv:base]
2828
; Ensure optional dependencies are not required
2929
deps =
30-
.[testing]
30+
. --group test
3131

3232
[testenv:dist]
3333
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
3434
deps =
35-
.[testing,optional]
35+
. --group test --group optional
3636

3737
[testenv:docs]
3838
skip_install = true
3939
commands = mkdocs build
4040
deps =
41-
.[testing,documentation]
41+
. --group test --group docs
4242

4343
[testenv:py312-djangomain]
4444
ignore_outcome = true

0 commit comments

Comments
 (0)