diff --git a/Makefile b/Makefile index 8f844bb2..55f4cd1b 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ build/%: ## build the latest image for a stack build-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) ) ## build all stacks build-test-all: $(foreach I,$(ALL_IMAGES),arch_patch/$(I) build/$(I) test/$(I) ) ## build and test all stacks -check_outdated/%: ## Check the outdated conda packages in a stack and produce a report (experimental) +check-outdated/%: ## check the outdated conda packages in a stack and produce a report (experimental) @TEST_IMAGE="$(OWNER)/$(notdir $@)" pytest test/test_outdated.py dev/%: ARGS?= diff --git a/test/test_outdated.py b/test/test_outdated.py index d1cb0943..46d9bf2f 100644 --- a/test/test_outdated.py +++ b/test/test_outdated.py @@ -73,7 +73,7 @@ def print_result(installed, result): nb_updatable = len(result) updatable_ratio = nb_updatable / nb_packages LOGGER.info( - f"{nb_updatable} packages can be updated over {nb_packages} -> {updatable_ratio:.0%}" + f"{nb_updatable}/{nb_packages} ({updatable_ratio:.0%}) packages could be updated" ) LOGGER.info(f"\n{tabulate(result, headers='keys')}\n")