2626LOCAL_DEPS = ("google-api-core" , "google-cloud-core" )
2727NOX_DIR = os .path .abspath (os .path .dirname (__file__ ))
2828DEFAULT_INTERPRETER = "3.8"
29- ALL_INTERPRETERS = ("2.7" , "3.6" , "3.7" , "3.8" , "3.9" )
30- PY3_INTERPRETERS = ("3.6" , "3.7" , "3.8" , "3.9" )
29+ ALL_INTERPRETERS = ("2.7" , "3.6" , "3.7" , "3.8" , "3.9" , "3.10" )
30+ PY3_INTERPRETERS = ("3.6" , "3.7" , "3.8" , "3.9" , "3.10" )
3131MAJOR_INTERPRETERS = ("2.7" , "3.8" )
3232CURRENT_DIRECTORY = pathlib .Path (__file__ ).parent .absolute ()
3333
@@ -59,6 +59,7 @@ def unit(session):
5959 [
6060 "--cov=google.cloud.ndb" ,
6161 "--cov=unit" ,
62+ "--cov-append" ,
6263 "--cov-config" ,
6364 get_path (".coveragerc" ),
6465 "--cov-report=term-missing" ,
@@ -76,8 +77,6 @@ def unit(session):
7677def cover (session ):
7778 # Install all dependencies.
7879 session .install ("coverage" )
79- # THis variable is used to skip coverage by Python version
80- session .env ["PY_VERSION" ] = session .python [0 ]
8180 # Run coverage report.
8281 session .run ("coverage" , "report" , "--fail-under=100" , "--show-missing" )
8382 # Erase cached coverage data.
0 commit comments