added testing environment

This commit is contained in:
2019-03-13 14:03:07 +01:00
parent a92684735e
commit 4b5d0356db
2 changed files with 24 additions and 0 deletions

10
Makefile Normal file
View File

@@ -0,0 +1,10 @@
docker-test: docker-build
sudo docker run -v $(shell pwd)/reports:/test/reports daknuett/bunker:test
docker-build:
sudo docker build . -t daknuett/bunker:test
.PHONY: test
test:
python3 -m pytest -vv test/