Runs docker-compose down at end of clean and test targets.

This commit is contained in:
Simon Prickett 2022-03-31 09:58:24 +01:00
parent 46bbb513fc
commit 136276148a

View file

@ -33,6 +33,7 @@ clean:
rm -rf build rm -rf build
rm -rf dist rm -rf dist
rm -rf redis_om rm -rf redis_om
docker-compose down
.PHONY: dist .PHONY: dist
@ -64,6 +65,7 @@ format: $(INSTALL_STAMP) sync
.PHONY: test .PHONY: test
test: $(INSTALL_STAMP) sync redis test: $(INSTALL_STAMP) sync redis
REDIS_OM_URL="$(REDIS_OM_URL)" $(POETRY) run pytest -n auto -vv ./tests/ ./tests_sync/ --cov-report term-missing --cov $(NAME) $(SYNC_NAME) REDIS_OM_URL="$(REDIS_OM_URL)" $(POETRY) run pytest -n auto -vv ./tests/ ./tests_sync/ --cov-report term-missing --cov $(NAME) $(SYNC_NAME)
docker-compose down
.PHONY: test_oss .PHONY: test_oss
test_oss: $(INSTALL_STAMP) sync redis test_oss: $(INSTALL_STAMP) sync redis