MishaKav / pytest-coverage-comment

Comments a pull request with the pytest code coverage badge and full report
MIT License
181 stars 60 forks source link

Skip coverage warning #84

Closed MishaKav closed 2 years ago

MishaKav commented 2 years ago
github-actions[bot] commented 2 years ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
functions/example_completed
   example_completed.py641970%33, 39–45, 48–51, 55–58, 65–70, 91–92
functions/example_manager
   example_manager.py441175%31–33, 49–55, 67–69
   example_static.py40295%60–61
functions/my_exampels
   example.py20200%1–31
functions/resources
   resources.py26260%1–37
TOTAL105573930% 

Tests Skipped Failures Errors Time
109 2 :zzz: 1 :x: 0 :fire: 0.583s :stopwatch:
github-actions[bot] commented 2 years ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
logger
   __init__.py00100% 
   config.py0679%23, 57–61
   scrubbing.py00100% 
   utils.py0381%22–24
monitor
   __init__.py00100% 
   monitor_client.py0350%1–4, 6–7, 10–11, 13–16, 18–22, 24, 33–40, 49–51, 53, 64, 72–75
step_utils
   step_result_storage.py01667%36–37, 46–48, 52–61, 65
testing
   __init__.py00100% 
   api.py0200%1–2, 4, 7–9, 11, 36, 38–39, 41–42, 44, 64, 67–69, 71, 98–99
   assertions.py0130%1–2, 5–12, 15–17
   aws.py019231%33–37, 39–40, 42–43, 47, 54–55, 59, 71, 76–77, 81, 103, 107–108, 112, 124, 128–130, 145–146, 151, 156, 158, 162–163, 170, 174–175, 179, 192, 196–197, 201, 214, 218–219, 223, 236, 240–241, 245, 258, 262–263, 267, 280, 288–290, 294–296, 304, 306, 312–313, 315, 323–326, 330–336, 338, 342–344, 346–349, 351–352, 354–355, 357–359, 363–367, 382–385, 404–405, 407, 442–443, 449, 463, 497–501, 503, 507–508, 512, 564, 566, 570, 588, 592, 611, 615, 633, 645–646, 648, 650, 656–658, 665–666, 668–669, 671, 677, 685, 696–697, 705, 709–712, 716–718, 720–721, 747, 750, 753, 764–765, 789–790, 799–805, 811, 813–815, 817–822, 863–864, 870, 872–873, 885–886, 888–890, 902, 906, 908, 910, 917, 921–923, 956
   events.py0350%1–4, 7–9, 12–13, 16–17, 20–21, 24–25, 28, 44–46, 48, 50, 81, 102–103, 105–106, 108, 110, 142–143, 173–174, 251–253
utils
   __init__.py00100% 
   account_helper.py02659%39–41, 46–50, 52–53, 55, 69–79, 81, 95–97
   agent_helper.py0130%1–2, 5–6, 8, 11, 21–23, 25–28
   api_client.py0200%1–3, 5, 7–8, 11–18, 20–25
   azure_utils.py0300%1, 3, 5–6, 9–16, 18–25, 27–31, 33, 35, 37–39
   batch_utils.py00100% 
   cors_utils.py0383%22–24
   create_pre_signed_url.py0160%1–4, 8, 11, 21–25, 28, 37–39, 42
   db_helper.py018423%18–19, 23, 27–29, 33–35, 39–42, 44, 48–51, 55–56, 61–62, 72, 74–82, 84, 88–89, 94–97, 101–105, 121, 161–163, 165–168, 170, 186–192, 194, 204–207, 230, 241–244, 248–252, 256–260, 266–267, 269–276, 281–282, 287–290, 299–300, 302–303, 311, 316–321, 327–328, 330–331, 335–337, 343, 347, 349–350, 354, 362–365, 369, 378–381, 385–389, 391, 395–397, 401, 405–406, 408–409, 411–412, 414–418, 420–424, 426–427, 436, 442, 447–451, 453–458, 461–463, 471, 473–475, 479, 483–485, 490–491, 496–497
   env_utils.py00100% 
   external_jwt.py0600%1–4, 6, 9, 31–33, 43–49, 52, 54–57, 66–72, 75–80, 86–90, 93–96, 99, 101–102, 105–106, 108, 110–111, 113–116, 118, 121–124
   json_utils.py0544%7–9, 11–12
   locale_helper.py0150%1–2, 5–7, 9–14, 16–19
   policy_converter.py0120%1–2, 5–6, 9–10, 13–14, 23–25, 33
   request_ctx.py04864%24–29, 32–33, 68, 89–92, 100–105, 110, 117, 121–122, 124, 152, 155–156, 160, 162–164, 167–169, 174, 179, 183–194
   runtime_utils.py020%1–2
   scan_helper.py0250%1–5, 8–13, 16–18, 20–21, 23–24, 26, 29–30, 33–36
   singleton.py00100% 
   sqs_helper.py0450%1–2, 4, 6–7, 9, 12–14, 16–20, 24–31, 35–37, 40–42, 46–49, 52–57, 61–63, 66–69
   validation.py00100% 
utils/discovery
   __init__.py00100% 
   aws_policy_transform.py02613%5–7, 9, 15, 19–21, 23–29, 31–37, 39–40, 44–45
   function_utils.py02856%17–21, 23–24, 28–32, 34–39, 41–48, 57, 74
utils/risk_rating
   __init__.py00100% 
utils/risk_rating/aws
   __init__.py00100% 
   utils.py060%1–2, 4, 42, 44, 46
utils/risk_rating/azure
   __init__.py00100% 
   service_access_levels_risk_ratings.py010%1
   utils.py0110%1, 3–4, 6, 9–10, 12–13, 15, 19, 22
utils/risk_rating/common
   __init__.py00100% 
   discovery_risk_rating_base.py0520%1–2, 4–7, 14, 17–18, 21–30, 32–34, 36–38, 40–41, 43–44, 46–53, 55–56, 58, 62–64, 66–68, 70–73, 75–76
   risk_rating.py0120%1, 3–4, 6, 9–16
   risk_rating_base.py0370%1–3, 5–6, 8, 11–15, 17–18, 21–24, 26–28, 30–31, 33, 35, 37, 40–41, 43–44, 51–53, 57–58, 60–62
   utils.py0981%96–98, 110–112, 114–116
   vulnerability_risk_rating_base.py0350%1–2, 4–9, 11, 14–15, 17–19, 21–24, 26–29, 31, 33, 35, 41–43, 45, 47–48, 50, 52–54
TOTAL1530104131% 

Tests Skipped Failures Errors Time
109 2 :zzz: 1 :x: 0 :fire: 0.583s :stopwatch: