mirror of
https://github.com/neuml/txtai.git
synced 2026-10-12 02:19:52 +00:00
Makefile update to debug GitHub action issues
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user