mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Run docker-compose down before acceptance tests
This commit is contained in:
@@ -188,7 +188,7 @@ test_acceptance: test_acceptance_app test_acceptance_modules
|
||||
test_acceptance_app: test_acceptance_app_start_service test_acceptance_app_run
|
||||
$(MAKE) test_acceptance_app_stop_service
|
||||
|
||||
test_acceptance_app_start_service: test_acceptance_app_stop_service
|
||||
test_acceptance_app_start_service: test_clean # stop service and clear dbs
|
||||
$(MAKE) compile
|
||||
docker-compose ${DOCKER_COMPOSE_FLAGS} up -d test_acceptance
|
||||
|
||||
@@ -212,6 +212,9 @@ test_acceptance_module: $(MODULE_MAKEFILES)
|
||||
cd $(MODULE) && $(MAKE) test_acceptance; \
|
||||
fi
|
||||
|
||||
test_clean:
|
||||
docker-compose ${DOCKER_COMPOSE_FLAGS} down
|
||||
|
||||
ci:
|
||||
MOCHA_ARGS="--reporter tap" \
|
||||
$(MAKE) test
|
||||
|
||||
Reference in New Issue
Block a user