Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Reorganize tests to work with GitHub action memory constraints

davidmezzettieb41320b7d35
diff --git a/Makefile b/Makefile
index 19fc7cb5..f0d29ed1 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,8 @@ test:
# Run tests while calculating code coverage
coverage:
coverage run -m unittest discover -v -k testann -s ${TEST_DIR}
- coverage run -m unittest discover -v -k testapi -s ${TEST_DIR}
+ coverage run -m unittest discover -v -k testapi.testcluster -s ${TEST_DIR}
+ coverage run -m unittest discover -v -k testapi.testextension -s ${TEST_DIR}
coverage run -m unittest discover -v -k testapp -s ${TEST_DIR}
coverage run -m unittest discover -v -k testarchive -s ${TEST_DIR}
coverage run -m unittest discover -v -k testcloud -s ${TEST_DIR}
diff --git a/test/python/testapi/testcluster.py b/test/python/testapi/testcluster.py
index c89ad3f4..c7b3950d 100644
--- a/test/python/testapi/testcluster.py
+++ b/test/python/testapi/testcluster.py
@@ -91,7 +91,6 @@ class RequestHandler(BaseHTTPRequestHandler):
self.wfile.flush()
[email protected](os.name == "nt", "TestCluster skipped on Windows")
class TestCluster(unittest.TestCase):
"""
API tests for embeddings clusters
diff --git a/test/python/testapi/testpipelines.py b/test/python/testapi/testpipelines.py
index e32f99a4..a60c1983 100644
--- a/test/python/testapi/testpipelines.py
+++ b/test/python/testapi/testpipelines.py
@@ -58,7 +58,6 @@ translation:
# pylint: disable=R0904
[email protected](os.name == "nt", "TestPipelines skipped on Windows")
class TestPipelines(unittest.TestCase):
"""
API tests for pipelines.