Добавить собственные интеграционные тесты и CI-проверку
This commit is contained in:
@@ -28,8 +28,13 @@ test-persistence:
|
||||
test-failover:
|
||||
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable stop-one hook"; exit 2)
|
||||
$(PYTHON) tests/resilience.py --mode failover --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
.PHONY: run migrate
|
||||
|
||||
.PHONY: run migrate student-test test-idempotency
|
||||
run:
|
||||
$(PYTHON) -m messenger
|
||||
migrate:
|
||||
$(PYTHON) -m messenger.migrate
|
||||
student-test:
|
||||
$(PYTHON) -m unittest discover -s student-tests -v
|
||||
test-idempotency:
|
||||
$(PYTHON) scripts/check_idempotency.py --base-url "$(BASE_URL)"
|
||||
|
||||
Reference in New Issue
Block a user