Skip to content

Commit ede82b1

Browse files
committed
Separate benchmarking extra
1 parent d548304 commit ede82b1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

setup.cfg

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ rtd =
6262
sphinx_book_theme
6363
testing =
6464
coverage
65-
psutil
66-
pytest>=3.6,<4
67-
pytest-benchmark~=3.2
65+
pytest
6866
pytest-cov
6967
pytest-regressions
68+
benchmarking =
69+
psutil
70+
pytest
71+
pytest-benchmark~=3.2
7072

7173
[options.packages.find]
7274
exclude =

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ usedevelop = true
1313
extras =
1414
linkify
1515
testing
16-
commands = pytest {posargs}
16+
commands = pytest tests/ {posargs}
1717

1818
[testenv:py{36,37,38,39,310}-plugins]
1919
extras = testing
@@ -27,12 +27,12 @@ commands_pre =
2727
commands =
2828
pytest {posargs}
2929

30-
[testenv:py{36,37,38,39,310}-bench-core]
31-
extras = testing
30+
[testenv:py{36,37,38,39}-bench-core]
31+
extras = benchmarking
3232
commands = pytest benchmarking/bench_core.py {posargs}
3333

3434
[testenv:py{36,37,38}-bench-packages]
35-
extras = testing,compare
35+
extras = benchmarking,compare
3636
commands = pytest benchmarking/bench_packages.py {posargs}
3737

3838
[testenv:docs-{update,clean}]

0 commit comments

Comments
 (0)