added testing environment
This commit is contained in:
parent
a92684735e
commit
4b5d0356db
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM daknuett/python3
|
||||
|
||||
ADD . /test
|
||||
WORKDIR /test
|
||||
|
||||
RUN find . -name __pycache__ -exec rm -rf {} +
|
||||
|
||||
RUN python3 setup.py install
|
||||
|
||||
CMD python3 -m pytest --cov=bunker \
|
||||
--cov-report=xml:reports/coverage.xml \
|
||||
--cov-report=term \
|
||||
--cov-report=html:reports/coverage.html \
|
||||
--cov-report=annotate -vv test/
|
Loading…
Reference in New Issue
Block a user