feat: add timing info

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-11 21:08:49 -04:00
parent d2f116f958
commit 95aeb27f0b
5 changed files with 42 additions and 3 deletions

View File

@@ -209,5 +209,6 @@ deploy-tests:
test: setup-deploy-tests lint unit-tests deploy-tests
test-ci:
@echo "executing tests: $(shell circleci tests glob tests/unit/*.bats | circleci tests split --split-by=timings | xargs)"
bats $(shell circleci tests glob tests/unit/*.bats | circleci tests split --split-by=timings | xargs)
mkdir -p test-results/bats
@cd tests/unit && echo "executing tests: $(shell cd tests/unit ; circleci tests glob *.bats | circleci tests split --split-by=timings | xargs)"
cd tests/unit && bats --formatter bats-format-junit -e -T -o ../../test-results/bats $(shell cd tests/unit ; circleci tests glob *.bats | circleci tests split --split-by=timings | xargs)