From 86cb63a6e961e6d270e1ad34cffe80f0f6a4dc85 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sat, 13 Jul 2019 15:31:42 +0200 Subject: [PATCH] add test command --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b2d667c..bd788fe 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,9 @@ SHELL=/bin/bash docker: docker-compose up +test: + docker-compose run web pytest network_inventory/inventory/tests + venv/bin/activate: requirements/local.txt test -d venv || python3 -m venv venv . venv/bin/activate; pip3 install wheel; pip3 install -Ur requirements/local.txt