Runs docker-compose down at end of clean and test targets.
This commit is contained in:
parent
46bbb513fc
commit
136276148a
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue