From d46799d81e5cdc4882355e198c930243f100f6cf Mon Sep 17 00:00:00 2001 From: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> Date: Tue, 3 Oct 2023 20:56:28 +0200 Subject: [PATCH] Run uvicorn with Poetry --- .github/workflows/api-integration-test.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/api-integration-test.yml b/.github/workflows/api-integration-test.yml index 60b0a1c33361..d444ee907484 100644 --- a/.github/workflows/api-integration-test.yml +++ b/.github/workflows/api-integration-test.yml @@ -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 @@ -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