Merge pull request #178 from redis/stop-docker-after-make-#177
Runs docker-compose down at end of clean and test targets.
This commit is contained in:
commit
a6ac0c78b7
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