Skip to content

Commit

Permalink
Run uvicorn with Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorWounds committed Oct 3, 2023
1 parent 40d6de4 commit d46799d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/api-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,9 @@ jobs:
- name: Configure Poetry
run: poetry config virtualenvs.in-project true

- name: Install Dependencies with Poetry
run: poetry install -C ${{ github.workspace }}/openbb_platform -E all

- name: Install Python Dependencies
# source $(poetry env info --path)/bin/activate
run: |
source $(poetry env info --path)/bin/activate
pip install toml pytest uvicorn importlib-metadata requests
# - name: Load cached venv
Expand Down Expand Up @@ -89,7 +86,7 @@ jobs:
- name: Launch the Uvicorn Process
run: |
uvicorn openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload &
poetry run uvicorn openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload &
- name: Wait for 1 minute
run: sleep 60
Expand Down

0 comments on commit d46799d

Please sign in to comment.