summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-07-26 10:23:48 +0300
committerJulian Berman <Julian@GrayVines.com>2022-07-26 10:23:48 +0300
commite9e90199ea43ab9f48ced4347b6ad95e70fa08ca (patch)
tree2ca989aa4c8a3adec72f2e07741c6c6d8ad7badf /tox.ini
parente0ebb6da87020983c099d39ca37751d98c91ea35 (diff)
downloadjsonschema-e9e90199ea43ab9f48ced4347b6ad95e70fa08ca.tar.gz
Just allow passing extra args directly to perf from tox.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 2 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 4a60c81..f80b593 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,10 +35,8 @@ commands =
codecov: {envpython} -m coverage xml -o {envtmpdir}/coverage.xml
codecov: codecov --required --disable gcov --file {envtmpdir}/coverage.xml
- perf,perfsuite: mkdir {envtmpdir}/benchmarks/
- perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json
- perf: {envpython} -m pyperf stats {envtmpdir}/benchmarks/issue232.json
- perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
+ perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-issue232.json}
+ perfsuite: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE {posargs:--output {envtmpdir}/bench-json_schema_test_suite.json}
build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
deps =