Files
OpenBB/noxfile.py
Igor Radovanovic 9cad7c8b6b Revert nox file
2023-10-04 23:23:37 +02:00

19 lines
476 B
Python

import nox
test_locations = [
"openbb_platform/tests",
"openbb_platform/platform",
"openbb_platform/providers",
]
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def tests(session):
session.install("poetry", "toml")
session.run(
"python", "./openbb_platform/dev_install.py", "-e", "all", external=True
)
session.install("pytest")
session.install("pytest-cov")
session.run("pytest", *test_locations, "--cov=openbb_platform/")