From 7317e4b39f17bc77fb877664f4d685688e8c33ba Mon Sep 17 00:00:00 2001 From: Alvaro Moran Date: Fri, 5 Apr 2024 09:33:31 +0000 Subject: [PATCH] feat(CI): added optimum tests to CI --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 7868bac0..5a0e0843 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,9 @@ pypi_upload: ${PACKAGE_DIST} ${PACKAGE_WHEEL} test_installs: python -m pip install .[tpu,tests] +tests: test_installs + python -m pytest -sv tests + # Stand-alone TGI server for unit tests outside of TGI container tgi_server: python -m pip install -r text-generation-inference/server/build-requirements.txt