mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 08:22:26 +00:00
12 lines
332 B
Python
12 lines
332 B
Python
import nox
|
|
|
|
test_locations = ["openbb_sdk/sdk/core/tests", "openbb_sdk/providers/tests"]
|
|
|
|
|
|
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
|
|
def tests(session):
|
|
session.install("./openbb_sdk[all]")
|
|
session.install("pytest")
|
|
session.install("pytest-cov")
|
|
session.run("pytest", *test_locations, "--cov=openbb_sdk/")
|