From 480a35b88fc9170d6432601d022363d908742764 Mon Sep 17 00:00:00 2001 From: Gregory Horvath Date: Fri, 20 Sep 2024 13:35:11 -0400 Subject: [PATCH] fix(make): make clean changed to make clean-artifacts (#1073) --- Makefile | 4 ++-- tests/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8a7280f6e..bf8afb315 100644 --- a/Makefile +++ b/Makefile @@ -299,7 +299,7 @@ silent-deploy-gpu: silent-fresh-leapfrogai-gpu: @echo "Cleaning up previous artifacts..." - @$(MAKE) clean > /dev/null 2>&1 + @$(MAKE) clean-artifacts > /dev/null 2>&1 @echo "Logs at .logs/*.log" @mkdir -p .logs @echo "Creating a uds gpu enabled cluster..." @@ -316,7 +316,7 @@ silent-fresh-leapfrogai-gpu: silent-fresh-leapfrogai-cpu: @echo "Cleaning up previous artifacts..." - @$(MAKE) clean > /dev/null 2>&1 + @$(MAKE) clean-artifacts > /dev/null 2>&1 @echo "Logs at .logs/*.log" @mkdir -p .logs @echo "Creating a uds cpu-only cluster..." diff --git a/tests/Makefile b/tests/Makefile index b2bb66861..4a5179f4c 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -63,8 +63,8 @@ test-api-integration: fi @env $$(cat .env | xargs) LFAI_RUN_NIAH_TESTS=$(LFAI_RUN_NIAH_TESTS) PYTHONPATH=$$(pwd) pytest -vv -s tests/integration/api -test-api-unit: set-supabase - LFAI_RUN_REPEATER_TESTS=$(LFAI_RUN_REPEATER_TESTS) PYTHONPATH=$$(pwd) pytest -vv -s tests/unit +test-api-unit: + LFAI_RUN_REPEATER_TESTS=$(LFAI_RUN_REPEATER_TESTS) PYTHONPATH=$$(pwd) python -m pytest -vv -s tests/unit LFAI_RUN_REPEATER_TESTS=$(LFAI_RUN_REPEATER_TESTS) PYTHONPATH=$$(pwd) python -m pytest -vv -s tests/pytest test-load: