Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
def pytest_addoption(parser):
parser.addoption("--runslow", action="store_true", default=False, help="run slow tests")
parser.addoption("--rungpu", action="store_true", default=False, help="run gpu tests")
parser.addoption("--runovernight", action="store_true",
default=False, help="run overnight tests")
parser.addoption(
"--runovernight", action="store_true", default=False, help="run overnight tests"
)


def pytest_configure(config):
config.addinivalue_line("markers", "slow: mark test as slow to run")
config.addinivalue_line("markers", "gpu: mark test as gpu required to run")
config.addinivalue_line("markers", "overnight: mark test as gpu required to run")


def pytest_collection_modifyitems(config, items):
Expand Down
Loading