Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Makefile update to debug GitHub action issues

davidmezzettib8cc67670dc0
diff --git a/Makefile b/Makefile
index 2845d792..6f2f7176 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,5 @@ test:
# Run tests while calculating code coverage
coverage:
- #coverage run -m unittest discover -v -s ${TEST_DIR}
- #coverage combine
- ${PYTHON} -m unittest -v testvectors.testwordvectors
+ coverage run -m unittest discover -v -s ${TEST_DIR}
+ coverage combine
diff --git a/test/python/testvectors/testwordvectors.py b/test/python/testvectors/testwordvectors.py
index de3128db..cc4d7747 100644
--- a/test/python/testvectors/testwordvectors.py
+++ b/test/python/testvectors/testwordvectors.py
@@ -3,6 +3,7 @@ Vectors module tests
"""
import os
+import platform
import tempfile
import unittest
@@ -45,6 +46,7 @@ class TestWordVectors(unittest.TestCase):
self.assertTrue(model.initialized)
+ @unittest.skipIf(platform.system() == "Darwin", "Word vector embeddings tests skipped on macOS")
def testIndex(self):
"""
Test word vectors indexing