Skip to content

Commit

Permalink
split steps and use poetry run
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoaquim committed Jan 3, 2024
1 parent 2859093 commit 6c74a98
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,23 @@ jobs:
- name: Install packages
run: poetry install --no-interaction -E forecast -E doc -E optimization

- run: |
- name: Generate SDK v3 Markdown
run: |
pip uninstall Brotli -y
pip install importlib-metadata
pip install pytest
pytest tests/website --autodoc
python website/generate_sdk_v3_markdown.py
python website/generate_terminal_v3_markdown.py
poetry run python website/generate_sdk_v3_markdown.py
poetry run python website/generate_terminal_v3_markdown.py
- name: Generate Platform Markdown
run: |
pip install -U poetry
python openbb_platform/dev_install.py -e all
poetry run python openbb_platform/dev_install.py -e all
pip uninstall nbmake -y
python website/generate_platform_v4_markdown.py
python website/generate_widgets_library.py
poetry run python website/generate_platform_v4_markdown.py
- name: Generate Widgets Library
run: |
poetry run python website/generate_widgets_library.py
- name: Setup Node
uses: actions/setup-node@v3
Expand Down

0 comments on commit 6c74a98

Please sign in to comment.