-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'OpenBB-finance/develop' into feature/me…
…rge-main-w-dev
- Loading branch information
Showing
1,438 changed files
with
287,413 additions
and
772,439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ shold | |
shs | ||
statics | ||
te | ||
tha | ||
toke | ||
vai | ||
varian | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
"""Nox sessions.""" | ||
|
||
from pathlib import Path | ||
|
||
import nox | ||
|
||
ROOT_DIR = Path(__file__).parent.parent.parent | ||
PLATFORM_DIR = ROOT_DIR / "openbb_platform" | ||
PLATFORM_TESTS = [ | ||
str(PLATFORM_DIR / p) for p in ["tests", "core", "providers", "extensions"] | ||
] | ||
CLI_DIR = ROOT_DIR / "cli" | ||
CLI_TESTS = CLI_DIR / "tests" | ||
|
||
|
||
@nox.session(python=["3.9", "3.10", "3.11"]) | ||
def unit_test_platform(session): | ||
"""Run the test suite.""" | ||
session.install("poetry", "toml") | ||
session.run( | ||
"python", | ||
str(PLATFORM_DIR / "dev_install.py"), | ||
"-e", | ||
"all", | ||
external=True, | ||
) | ||
session.install("pytest") | ||
session.install("pytest-cov") | ||
session.run( | ||
"pytest", *PLATFORM_TESTS, f"--cov={PLATFORM_DIR}", "-m", "not integration" | ||
) | ||
|
||
|
||
@nox.session(python=["3.9", "3.10", "3.11"]) | ||
def unit_test_cli(session): | ||
"""Run the test suite.""" | ||
session.install("poetry", "toml") | ||
session.run( | ||
"python", | ||
str(PLATFORM_DIR / "dev_install.py"), | ||
"-e", | ||
"all", | ||
external=True, | ||
) | ||
session.install("pytest") | ||
session.install("pytest-cov") | ||
session.run("pytest", CLI_TESTS, f"--cov={CLI_DIR}") |
File renamed without changes.
Oops, something went wrong.