summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gh-pages.yml1
-rw-r--r--.github/workflows/linting.yml3
-rw-r--r--.github/workflows/platform-api-integration-test.yml8
3 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 6f4bf8634e6..b7309eb64a7 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -56,6 +56,7 @@ jobs:
source .venv/bin/activate
pip install -U poetry
poetry run python openbb_platform/dev_install.py -e all
+ poetry run python -c "import openbb; openbb.build()"
pip uninstall nbmake -y
poetry run python website/generate_platform_v4_markdown.py
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index edf6025d597..2f068019a35 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -68,8 +68,9 @@ jobs:
- run: |
# Run linters for openbb_platform
if [ -n "${{ env.platform_files }}" ]; then
- # TODO: Add mypy to this part of the linting workflow once we're ready
pylint ${{ env.platform_files }}
+ mypy ${{ env.platform_files }} --ignore-missing-imports --scripts-are-modules --check-untyped-defs
+ pydocstyle ${{ env.platform_files }}
else
echo "No Python files changed in openbb_platform"
fi
diff --git a/.github/workflows/platform-api-integration-test.yml b/.github/workflows/platform-api-integration-test.yml
index 48076d79af4..11b4c9c5d40 100644
--- a/.github/workflows/platform-api-integration-test.yml
+++ b/.github/workflows/platform-api-integration-test.yml
@@ -2,6 +2,9 @@ name: API Integration Tests
on:
workflow_dispatch:
+ pull_request:
+ branches:
+ - release/*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -71,6 +74,11 @@ jobs:
}
}' > ~/.openbb_platform/user_settings.json
+ - name: Build openbb
+ run: |
+ source runner_env/bin/activate
+ python -c "import openbb; openbb.build()"
+
- name: Launch the Uvicorn Process
run: |
source runner_env/bin/activate