From d9031901d5bca22fe0d5925d204e6698df9852e1 Mon Sep 17 00:00:00 2001 From: alienczf <17044118+alienczf@users.noreply.github.com> Date: Thu, 13 Dec 2018 01:57:00 +0800 Subject: [PATCH] tox: add posargs for easier contrib testing (#712) --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 9ba74ccc0..f80acf1e1 100644 --- a/tox.ini +++ b/tox.ini @@ -23,8 +23,8 @@ deps = pandas-profiling==1.4.0 solutionbox/structured_data/ solutionbox/image_classification/ commands = - python ./tests/main.py - python ./legacy_tests/main.py + python ./tests/main.py {posargs} + python ./legacy_tests/main.py {posargs} [testenv:py27] # apache-beam only supports python2.7, so we add that here. @@ -41,5 +41,5 @@ deps = {[testenv]deps} google-cloud-dataflow==2.5.0 coveralls commands = - coverage run tests/main.py + coverage run tests/main.py {posargs} - coveralls --rcfile=.coveragerc