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
|
||||
TOKENIZERS_PARALLELISM: false
|
||||
run: |
|
||||
# Run all tests, continue on macOS failures
|
||||
if [[ "${{ matrix.os }}" == macos-* ]]; then
|
||||
pytest tests/ -x || echo "⚠️ Tests failed on macOS, continuing..."
|
||||
else
|
||||
pytest tests/
|
||||
fi
|
||||
# Run all tests
|
||||
pytest tests/
|
||||
|
||||
- name: Run sanity checks (optional)
|
||||
run: |
|
||||
# Run distance function tests if available
|
||||
if [ -f test/sanity_checks/test_distance_functions.py ]; then
|
||||
echo "Running distance function sanity checks..."
|
||||
python test/sanity_checks/test_distance_functions.py || {
|
||||
if [[ "${{ matrix.os }}" == macos-* ]]; then
|
||||
echo "⚠️ Distance function test failed on macOS, continuing..."
|
||||
else
|
||||
echo "⚠️ Distance function test failed, continuing..."
|
||||
fi
|
||||
}
|
||||
python test/sanity_checks/test_distance_functions.py || echo "⚠️ Distance function test failed, continuing..."
|
||||
fi
|
||||
|
||||
- name: Upload artifacts
|
||||
|
||||
@@ -84,6 +84,4 @@ The `pytest.ini` file configures:
|
||||
|
||||
### 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
|
||||
|
||||
Reference in New Issue
Block a user