Skip to content

Commit af02960

Browse files
committed
Add building package to tox
1 parent 36a4c2e commit af02960

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tox.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires =
33
tox>=4.27
44
env_list =
5-
py3
5+
py3,package
66

77
[testenv]
88
description = run the tests with pytest
@@ -12,3 +12,12 @@ deps =
1212
pytest>=6
1313
commands =
1414
pytest {tty:--color=yes} {posargs}
15+
16+
[testenv:package]
17+
description = build package
18+
package = skip
19+
wheel_build_env =
20+
deps =
21+
build
22+
commands =
23+
pyproject-build

0 commit comments

Comments
 (0)