Skip to content

Add k8

Add k8 #10

Workflow file for this run

name: Unittests
on:
pull_request:
branches: [ "main" ]
types: ["opened", "reopened", "edited"]
jobs:
unittests:
name: Unit Tests
runs-on: ubuntu-latest
env:
LOCAL_VECTOR_DB: qdrant
steps:
- uses: actions/checkout@v4
- name: Setup Python # Set Python version
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies - Api
run: |
python -m pip install --upgrade pip
pip install -r src/api/requirements.txt
- name: Run Api unittests
run: |
cd src
python -m unittest api.tests.test_app
- name: Install depencies - Worker
run: |
python -m pip install --upgrade pip
pip install -r src/worker/requirements.txt
- name: Run Worker/Vdb_worker unittests
run: |
cd src
python -m unittest worker.tests.test_worker
python -m unittest worker.tests.test_vdb_upload_worker