mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-10 11:21:12 +00:00
Update nox
This commit is contained in:
11
noxfile.py
11
noxfile.py
@@ -5,7 +5,10 @@ test_locations = ["openbb_sdk/sdk/core/tests", "openbb_sdk/providers"]
|
||||
|
||||
@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/")
|
||||
session.install("poetry")
|
||||
# run a shell command
|
||||
session.run("ls", "-la")
|
||||
# session.run("sh", "./openbb_sdk/install_all.sh")
|
||||
# session.install("pytest")
|
||||
# session.install("pytest-cov")
|
||||
# session.run("pytest", *test_locations, "--cov=openbb_sdk/")
|
||||
|
||||
Reference in New Issue
Block a user