Skip to content

Add fastapi and sse-starlette deps #32

Add fastapi and sse-starlette deps

Add fastapi and sse-starlette deps #32

Workflow file for this run

name: RAGStack CI
on:
pull_request:
branches:
- main
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Add SSH private keys for submodule repositories
uses: webfactory/[email protected]
with:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY_LANGCHAIN_SUBMODULE }}
${{ secrets.SSH_PRIVATE_KEY_LANGSERVE_SUBMODULE }}
${{ secrets.SSH_PRIVATE_KEY_LANGSMITH_SUBMODULE }}
- name: Update submodules
run: git submodule update --init --recursive
- name: 'Setup: Python 3.11'
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
- name: Run tests
run: |
poetry run pytest tests/unit-tests
# - name: Run E2E tests
# run: |
# export ASTRA_DB_TOKEN="${{ secrets.E2E_TESTS_ASTRA_DB_TOKEN }}"
# export OPEN_AI_KEY="${{ secrets.E2E_TESTS_OPEN_AI_KEY }}"
# ./dev/run-e2e-tests.sh