Open gioxoay opened 3 years ago
Hi everyone, I apply this plugin into my Azure Pipelines BUT Code Coverage missing all inline style, here is my steps:
In Dockerfile
RUN pip install pytest pytest-cov pytest-azurepipelines
In Pipelines Bash step
docker run --mount type=bind,source=$(pwd),target=/app-volume -w /app-volume docker-image-name pytest --cov /app --cov-report=xml --cov-report=html /app
And report result I get does not have inline style
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Coverage report</title> <link rel="stylesheet" href="style.css" type="text/css"> <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript" src="jquery.ba-throttle-debounce.min.js"></script> <script type="text/javascript" src="jquery.tablesorter.min.js"></script> <script type="text/javascript" src="jquery.hotkeys.js"></script> <script type="text/javascript" src="coverage_html.js"></script> <script type="text/javascript"> jQuery(document).ready(coverage.index_ready); </script> </head>
Then anyone please help me on this issue? Thank you!
Did you ever find a resolution for this?
Here is the fix
Hi everyone, I apply this plugin into my Azure Pipelines BUT Code Coverage missing all inline style, here is my steps:
In Dockerfile
In Pipelines Bash step
And report result I get does not have inline style
Then anyone please help me on this issue? Thank you!