15 lines
303 B
Docker
15 lines
303 B
Docker
|
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/
|