add some env in ci
This commit is contained in:
6
.github/workflows/build-reusable.yml
vendored
6
.github/workflows/build-reusable.yml
vendored
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user