Skip to content

Add unit test for vec_db #2

Add unit test for vec_db

Add unit test for vec_db #2

Workflow file for this run

name: Run Unit Test
on:
push:
branches:
- master
- feature/unit_test
paths-ignore:
- 'README.md'
- 'README_zh.md'
- 'Makefile'
- 'ruff.toml'
workflow_dispatch:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-full.txt
pip install "sqlite-vec==0.1.1"
- name: Test with pytest
run: |
pip install pytest pytest-cov coverage
coverage run -m pytest
coverage report