summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-18 12:57:05 +0200
committerIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-18 12:57:05 +0200
commit62e441fc29c544d560b710284af9fa27dad14086 (patch)
treedb12649f4cecb592e2113d0877ef8071ceb92ff8
parent36cdc34c632a06d3b2766672583e2ef28cd4afb0 (diff)
Update nox
-rw-r--r--noxfile.py2
-rwxr-xr-xopenbb_sdk/install_all.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/noxfile.py b/noxfile.py
index cd051090916..62e602e956b 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -6,7 +6,7 @@ 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("poetry")
- session.run("sh", "./openbb_sdk/install_all.sh")
+ 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/")
diff --git a/openbb_sdk/install_all.sh b/openbb_sdk/install_all.sh
index 46c6fd1cd81..29a433b115f 100755
--- a/openbb_sdk/install_all.sh
+++ b/openbb_sdk/install_all.sh
@@ -4,7 +4,7 @@
PYTHON_EXEC=$(which python)
# Install all openbb sdk (core+provider), extensions and providers in editable mode
-find extensions providers sdk/core sdk/provider -type f -name "pyproject.toml" -execdir sh -c '
+find openbb_sdk/extensions openbb_sdk/providers openbb_sdk/sdk/core openbb_sdk/sdk/provider -type f -name "pyproject.toml" -execdir sh -c '
echo "Installing $(basename "$PWD")..."
"$1" -m poetry install -C "${PWD}"
if [ $? -ne 0 ]; then