-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nox unittest updates #4646
nox unittest updates #4646
Conversation
bigquery_datatransfer/nox.py
Outdated
@@ -19,8 +19,36 @@ | |||
|
|||
|
|||
@nox.session | |||
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) | |||
def unit_tests(session, python_version): | |||
def default(session): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
b0d4747
to
f2c9bcc
Compare
bigquery_datatransfer/nox.py
Outdated
This is intended to be run **without** an interpreter set, so | ||
that the current ``python`` (on the ``PATH``) or the version of | ||
Python corresponding to the ``nox`` binary the ``PATH`` can | ||
run the tests. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
bigquery_datatransfer/nox.py
Outdated
|
||
|
||
@nox.session | ||
def cover(session): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
bigquery_datatransfer/nox.py
Outdated
import os | ||
|
||
import nox | ||
|
||
|
||
LOCAL_DEPS = ( | ||
os.path.join('..', 'api_core'), | ||
os.path.join('..', 'core'), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
container/nox.py
Outdated
import os | ||
|
||
import nox | ||
|
||
|
||
LOCAL_DEPS = ( | ||
os.path.join('..', 'api_core'), | ||
os.path.join('..', 'core'), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
dataproc/nox.py
Outdated
import os | ||
|
||
import nox | ||
|
||
|
||
LOCAL_DEPS = ( | ||
os.path.join('..', 'api_core'), | ||
os.path.join('..', 'core'), |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
bigquery_datatransfer/nox.py
Outdated
session.install('coverage', 'pytest-cov') | ||
session.run('coverage', 'report', '--show-missing', '--fail-under=70') | ||
# uncomment when coverage is met | ||
# session.run('coverage', 'report', '--show-missing', '--fail-under=100') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
container/nox.py
Outdated
|
||
This is intended to be run **without** an interpreter set, so | ||
that the current ``python`` (on the ``PATH``) or the version of | ||
Python corresponding to the ``nox`` binary the ``PATH`` can |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Manually changed. Where do I change the generator?
@dhermes @lukesneeringer