Files
OpenBB/noxfile.py
montezdesousa 4f4e941267 Hotfix/ext map test (#5459)
* add tests and rebuild

* remove files before rebuild to avoid leftovers

* replace NoneType with None

* docstring
2023-09-21 09:17:40 +01:00

17 lines
418 B
Python

import nox
test_locations = [
"openbb_sdk/tests",
"openbb_sdk/sdk/core/tests",
"openbb_sdk/providers",
]
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def tests(session):
session.install("poetry")
session.run("sh", "./openbb_sdk/install_all.sh", external=True)
session.install("pytest")
session.install("pytest-cov")
session.run("pytest", *test_locations, "--cov=openbb_sdk/")