From d909c7c77f5dfd5496433e871c7e64296035e223 Mon Sep 17 00:00:00 2001 From: phoenixAja Date: Fri, 5 Apr 2024 10:54:54 -0700 Subject: [PATCH] add cargo test to index-generation test --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c209085b..47fa3bf42 100644 --- a/Makefile +++ b/Makefile @@ -56,11 +56,15 @@ release: scripts/release.sh test-%: ## run miniwdl step tests eg. make test-short-read-mngs + @if [ "$*" = "index-generation" ]; then \ + echo "Running cargo test for index-generation"; \ + (cd workflows/$*/ncbi-compress && cargo test); \ + fi pytest -v -n $$(( $$(nproc) - 1)) --durations=0 --tb=short --log-cli-level=11 workflows/$*/test integration-test-%: ## run miniwdl integration tests eg. make integration-test-short-read-mngs pytest -v -n $$(( $$(nproc) - 1)) --durations=0 --tb=short --log-cli-level=11 workflows/$*/integration_test - + .PHONY: test test: ## run miniwdl step tests for all workflows eg. make test for i in $$(ls workflows); do $(MAKE) test-$$i; done