Add fastapi and sse-starlette deps #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |