Skip to content

Commit

Permalink
Specify Poetry Path
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorWounds committed Oct 3, 2023
1 parent 3d21fc8 commit 6221998
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/api-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Install Python Dependencies
run: |
source .venv/bin/activate
source $(poetry env info --path)/bin/activate
pip install toml pytest uvicorn importlib-metadata requests
# - name: Load cached venv
Expand All @@ -63,7 +63,6 @@ jobs:
- name: Install obb Dependencies
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
source .venv/bin/activate
python ${{ github.workspace }}/openbb_platform/dev_install.py -e
- name: Populate System Setting Files
Expand All @@ -87,15 +86,13 @@ jobs:
- name: Launch the Uvicorn Process
run: |
source .venv/bin/activate
uvicorn openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload &
- name: Wait for 1 minute
run: sleep 60

- name: Run Integration Tests
run: |
source .venv/bin/activate
pytest ${{ github.workspace }}/openbb_platform -m integration
# - name: Upload summary to Slack
Expand Down

0 comments on commit 6221998

Please sign in to comment.