From 581f3a1ccfff4cd1b1eb978be25b631dcd69d7a8 Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Fri, 21 Dec 2018 20:34:30 +0100 Subject: [PATCH] add target for local ci testing... --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/makefile b/makefile index 4e9c2bf..94e257b 100644 --- a/makefile +++ b/makefile @@ -438,6 +438,13 @@ endif @rm -rf "test/__pycache__"; +## Run `make lint mypy test` using docker +.PHONY: citest +citest: + docker build --file Dockerfile --tag tmp_citest_$(PKG_NAME) . + docker run --tty tmp_citest_$(PKG_NAME) make lint mypy test + + ## -- Build/Deploy --