Skip to content
Snippets Groups Projects
Verified Commit c268f014 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

feat(coverage): run coverage with multiple jobs in parallel

parent 97b5a6ac
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ test: test-image
test-coverage: test-image
rm -rf ${PWD}/coverage
mkdir -m 777 ${PWD}/coverage
$(DOCKER) run $(RUN_OPTIONS) -v ${PWD}/coverage:/coverage -e COVERAGE_DIR=/coverage $(IMAGE) make test-coverage
$(DOCKER) run $(RUN_OPTIONS) -v ${PWD}/coverage:/coverage -e COVERAGE_DIR=/coverage $(IMAGE) make BATS_ARGS="$(BATS_ARGS)" test-coverage
dev-env: test-image
$(DOCKER) run $(RUN_OPTIONS) --tty --interactive $(IMAGE) /bin/bash
......
......@@ -10,6 +10,6 @@ test-coverage:
--include-path=$(CURDIR)/../ \
--exclude-path=$(CURDIR)/../test,$(CURDIR)/../cron-jobs/makepkg.conf,$(CURDIR)/../config \
$(COVERAGE_DIR) \
bats $(CASES)
bats $(BATS_ARGS) $(CASES)
.PHONY: test test-coverage
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment