Add behat tests to drone
Signed-off-by: Julius Haertl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
084d892ce6
commit
2b9b22f2f2
10
Makefile
10
Makefile
@@ -69,8 +69,9 @@ appstore: clean-build build
|
||||
|
||||
echo $(appstore_package_name).tar.gz
|
||||
|
||||
test: test-unit test-integration
|
||||
|
||||
test:
|
||||
test-unit:
|
||||
mkdir -p build/
|
||||
ifeq (, $(shell which phpunit 2> /dev/null))
|
||||
@echo "No phpunit command available, downloading a copy from the web"
|
||||
@@ -83,6 +84,9 @@ else
|
||||
phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
||||
endif
|
||||
|
||||
test-js:
|
||||
cd js && run test
|
||||
test-integration:
|
||||
cd tests/integration && ./run.sh
|
||||
|
||||
test-js: install-deps
|
||||
cd js && run test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user