Skip to content

Commit

Permalink
Remove tests-scipy session, make it simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Aug 24, 2024
1 parent bcd01bb commit f2e11f3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ def check(session):
@nox.session(name="tests")
def run_tests(session):
"""Run unit tests and generate a coverage report"""
session.install("-e", ".[test]")
session.run("pytest", "--cov=autograd", "--cov-report=xml")


@nox.session(name="tests-scipy")
def run_tests_scipy(session):
"""Run additional unit tests with SciPy installed"""
session.install("-e", ".[test,scipy]")
session.run("pytest", "--cov=autograd", "--cov-report=xml")

Expand All @@ -38,5 +31,3 @@ def ruff(session):
session.install("ruff")
session.run('ruff', 'check', '.')
session.notify("tests")
session.notify("tests-scipy")

0 comments on commit f2e11f3

Please sign in to comment.