Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Test Docling build fix #1176

davidmezzetti893a33388750
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8d0b64e7..622e6ab5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -61,6 +61,7 @@ jobs:
HF_HUB_ETAG_TIMEOUT: 100
HF_HUB_DOWNLOAD_TIMEOUT: 100
HF_XET_CHUNK_CACHE_SIZE_BYTES: 0
+ DOCLING_INFERENCE_COMPILE_TORCH_MODELS: false
- uses: pre-commit/[email protected]
if: matrix.os == 'ubuntu-latest'
diff --git a/test/python/testpipeline/testdata/testtextractor.py b/test/python/testpipeline/testdata/testtextractor.py
index 6c7fd07f..8c3f990c 100644
--- a/test/python/testpipeline/testdata/testtextractor.py
+++ b/test/python/testpipeline/testdata/testtextractor.py
@@ -2,8 +2,6 @@
Textractor module tests
"""
-import os
-import platform
import unittest
from txtai.pipeline import Textractor
@@ -64,7 +62,6 @@ class TestTextractor(unittest.TestCase):
# Check number of sections is as expected
self.assertEqual(len(sections), 2)
- @unittest.skipIf(platform.system() == "Darwin" or os.name == "nt", "Docling skipped on macOS and Windows")
def testDocling(self):
"""
Test docling backend