Skip to content

Commit

Permalink
add some more sessions to noxfile
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Oct 25, 2024
1 parent 0281b96 commit 0b2dc74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@ def licensecheck(session) -> None:
"""Runs the license check."""
session.install("licensecheck")
session.run("licensecheck")


@nox.session(default=False)
def system_test(session) -> None:
"""Runs the system test - slow"""
session.install(".[testing]")
session.run("pytest", "--durations=10", "system_tests")


@nox.session(default=False)
def tests_structure(session) -> None:
"""Performs a check on the test structure."""
session.install("check-tests-structure")
session.run("check-tests-structure", "hook")

0 comments on commit 0b2dc74

Please sign in to comment.