From 133a34ebd64b99f4d6afb6d43ece0cd09687c6e1 Mon Sep 17 00:00:00 2001 From: Lauren Yu <6631887+laurenyu@users.noreply.github.com> Date: Thu, 25 Jun 2020 16:19:54 -0700 Subject: [PATCH] infra: fix tox test dependencies and bump coverage threshold to 86% --- tox.ini | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 50960d5c27..55cfa3e285 100644 --- a/tox.ini +++ b/tox.ini @@ -58,13 +58,12 @@ passenv = AWS_SESSION_TOKEN AWS_CONTAINER_CREDENTIALS_RELATIVE_URI AWS_DEFAULT_REGION - # {posargs} can be passed in by additional arguments specified when invoking tox. # Can be used to specify which tests to run, e.g.: tox -- -s commands = coverage run --source sagemaker -m pytest {posargs} - {env:IGNORE_COVERAGE:} coverage report --fail-under=85 --omit */tensorflow/tensorflow_serving/* -extras = test + {env:IGNORE_COVERAGE:} coverage report --fail-under=86 --omit */tensorflow/tensorflow_serving/* +deps = .[test] [testenv:flake8] basepython = python3