Add make target parallel
This commit is contained in:
parent
672c985e88
commit
3f7e8b148e
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -16,6 +16,10 @@ pdf:
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: bats shellcheck
|
test: bats shellcheck
|
||||||
|
|
||||||
|
.PHONY: parallel
|
||||||
|
parallel:
|
||||||
|
ls test/*bats | time parallel -q -P0 -- docker run --rm -v "$$PWD:/yadm:ro" yadm/testbed bash -c 'bats {}'
|
||||||
|
|
||||||
.PHONY: bats
|
.PHONY: bats
|
||||||
bats:
|
bats:
|
||||||
@echo Running all bats tests
|
@echo Running all bats tests
|
||||||
|
|
Loading…
Reference in a new issue