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:
Andy Lee
2025-07-28 14:54:22 -07:00
parent 22c8f861bc
commit 3e53d3d264
2 changed files with 3 additions and 15 deletions

View File

@@ -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

View File

@@ -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