Skip to content

Commit

Permalink
Remove Cover
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelnucfin committed Dec 22, 2017
1 parent c3086c5 commit c2cb898
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
15 changes: 0 additions & 15 deletions bigquery_datatransfer/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,3 @@ def system(session, py):

# Run py.test against the system tests.
session.run('py.test', '--quiet', 'tests/system/')


@nox.session
def cover(session):
"""Run the final coverage report.
This outputs the coverage report aggregating coverage from the unit
test runs (not system test runs), and then erases coverage data.
"""
session.interpreter = 'python3.6'
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')
session.run('coverage', 'erase')
15 changes: 0 additions & 15 deletions container/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,3 @@ def lint_setup_py(session):
session.install('docutils', 'pygments')
session.run('python', 'setup.py', 'check', '--restructuredtext',
'--strict')


@nox.session
def cover(session):
"""Run the final coverage report.
This outputs the coverage report aggregating coverage from the unit
test runs (not system test runs), and then erases coverage data.
"""
session.interpreter = 'python3.6'
session.install('coverage', 'pytest-cov')
session.run('coverage', 'report', '--show-missing', '--fail-under=60')
# uncomment when coverage is met
# session.run('coverage', 'report', '--show-missing', '--fail-under=100')
session.run('coverage', 'erase')
15 changes: 0 additions & 15 deletions dataproc/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,3 @@ def lint_setup_py(session):
session.install('docutils', 'pygments')
session.run('python', 'setup.py', 'check', '--restructuredtext',
'--strict')


@nox.session
def cover(session):
"""Run the final coverage report.
This outputs the coverage report aggregating coverage from the unit
test runs (not system test runs), and then erases coverage data.
"""
session.interpreter = 'python3.6'
session.install('coverage', 'pytest-cov')
session.run('coverage', 'report', '--show-missing', '--fail-under=80')
# uncomment when coverage is met
# session.run('coverage', 'report', '--show-missing', '--fail-under=100')
session.run('coverage', 'erase')

0 comments on commit c2cb898

Please sign in to comment.