add some env in ci

This commit is contained in:
yichuan520030910320
2025-07-28 16:11:44 -07:00
parent b124709bcd
commit 27d0d73f99
5 changed files with 16 additions and 5 deletions

View File

@@ -204,7 +204,7 @@ jobs:
# Create a virtual environment
uv venv
source .venv/bin/activate || source .venv/Scripts/activate
# Install the built wheels
if [[ "${{ matrix.os }}" == ubuntu-* ]]; then
uv pip install packages/leann-core/dist/*.whl
@@ -226,7 +226,7 @@ jobs:
run: |
# Activate virtual environment
source .venv/bin/activate || source .venv/Scripts/activate
# Run all tests
pytest tests/
@@ -234,7 +234,7 @@ jobs:
run: |
# Activate virtual environment
source .venv/bin/activate || source .venv/Scripts/activate
# Run distance function tests if available
if [ -f test/sanity_checks/test_distance_functions.py ]; then
echo "Running distance function sanity checks..."