Skip to content

Commit

Permalink
add cargo test to index-generation test
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixAja committed Apr 5, 2024
1 parent cdae5e4 commit d909c7c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d909c7c

Please sign in to comment.