docs: remove obsolete C++ ABI compatibility warnings
- Remove outdated macOS C++ compatibility warnings from README - Simplify CI workflow by removing macOS-specific failure handling - All tests now pass consistently on macOS after ABI fixes
This commit is contained in:
16
.github/workflows/build-reusable.yml
vendored
16
.github/workflows/build-reusable.yml
vendored
@@ -217,25 +217,15 @@ jobs:
|
|||||||
HF_HUB_DISABLE_SYMLINKS: 1
|
HF_HUB_DISABLE_SYMLINKS: 1
|
||||||
TOKENIZERS_PARALLELISM: false
|
TOKENIZERS_PARALLELISM: false
|
||||||
run: |
|
run: |
|
||||||
# Run all tests, continue on macOS failures
|
# Run all tests
|
||||||
if [[ "${{ matrix.os }}" == macos-* ]]; then
|
pytest tests/
|
||||||
pytest tests/ -x || echo "⚠️ Tests failed on macOS, continuing..."
|
|
||||||
else
|
|
||||||
pytest tests/
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Run sanity checks (optional)
|
- name: Run sanity checks (optional)
|
||||||
run: |
|
run: |
|
||||||
# Run distance function tests if available
|
# Run distance function tests if available
|
||||||
if [ -f test/sanity_checks/test_distance_functions.py ]; then
|
if [ -f test/sanity_checks/test_distance_functions.py ]; then
|
||||||
echo "Running distance function sanity checks..."
|
echo "Running distance function sanity checks..."
|
||||||
python test/sanity_checks/test_distance_functions.py || {
|
python test/sanity_checks/test_distance_functions.py || echo "⚠️ Distance function test failed, continuing..."
|
||||||
if [[ "${{ matrix.os }}" == macos-* ]]; then
|
|
||||||
echo "⚠️ Distance function test failed on macOS, continuing..."
|
|
||||||
else
|
|
||||||
echo "⚠️ Distance function test failed, continuing..."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
|||||||
@@ -84,6 +84,4 @@ The `pytest.ini` file configures:
|
|||||||
|
|
||||||
### Known Issues
|
### Known Issues
|
||||||
|
|
||||||
- On macOS, tests may fail due to C++ standard library compatibility issues
|
|
||||||
- Tests marked with `@pytest.mark.xfail` are expected to fail on macOS
|
|
||||||
- OpenAI tests are automatically skipped if no API key is provided
|
- OpenAI tests are automatically skipped if no API key is provided
|
||||||
|
|||||||
Reference in New Issue
Block a user