Include ragstack-langchain, ragstack-langserve and ragstack-langsmith modules in the package #16
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 | |
with: | |
submodules: 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 |