Prep to Open Source #41
Annotations
1 error and 3 notices
Coverage
Critical error. This error possibly occurred because the permissions of the workflow are set incorrectly. You can see the correct setting of permissions here: https://github.com/py-cov-action/python-coverage-comment-action#basic-usage
Otherwise please look for open issues or open one in https://github.com/py-cov-action/python-coverage-comment-action/
Traceback (most recent call last):
File "/workdir/coverage_comment/subprocess.py", line 22, in run
return subprocess.run(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('coverage', 'json', '-o', '-')' returned non-zero exit status 2.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workdir/coverage_comment/main.py", line 44, in main
exit_code = action(
^^^^^^^
File "/workdir/coverage_comment/main.py", line 96, in action
return process_pr(
^^^^^^^^^^^
File "/workdir/coverage_comment/main.py", line 127, in process_pr
_, coverage = coverage_module.get_coverage_info(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workdir/coverage_comment/coverage.py", line 109, in get_coverage_info
subprocess.run("coverage", "json", "-o", "-", path=coverage_path)
File "/workdir/coverage_comment/subprocess.py", line 36, in run
raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc
coverage_comment.subprocess.SubProcessError:
{"meta": {"format": 3, "version": "7.6.4", "timestamp": "2024-11-27T21:34:32.350744", "branch_coverage": false, "show_contexts": false}, "files": {"annotated_logger/__init__.py": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 263, "percent_covered": 0.0, "percent_covered_display": "0", "missing_lines": 263, "excluded_lines": 257}, "missing_lines": [1, 3, 4, 5, 6, 7, 8, 9, 10, 24, 26, 27, 32, 34, 35, 36, 37, 38, 39, 40, 41, 44, 47, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 67, 68, 70, 80, 88, 91, 122, 125, 135, 136, 137, 138, 139, 146, 148, 150, 151, 153, 155, 156, 157, 158, 159, 160, 161, 163, 164, 167, 170, 177, 178, 179, 180, 184, 186, 195, 197, 209, 211, 219, 220, 222, 223, 224, 226, 227, 228, 229, 230, 231, 232, 233, 234, 240, 241, 242, 244, 246, 247, 249, 252, 271, 308, 309, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 323, 324, 325, 326, 327, 328, 329, 335, 336, 338, 340, 352, 353, 357, 359, 361, 364, 366, 373, 374, 375, 376, 377, 378, 379, 381, 382, 383, 385, 664, 730, 733, 735, 738, 741, 742, 743, 744, 746, 748, 752, 756, 757, 759, 761, 764, 765, 766, 767, 768, 770, 771, 772, 773, 774, 775, 776, 777, 778, 780, 781, 783, 787, 788, 789, 790, 791, 792, 795, 796, 797, 798, 800, 802, 804, 816, 817, 818, 819, 822, 823, 824, 825, 827, 828, 829, 831, 836, 837, 840, 842, 846, 847, 848, 850, 851, 852, 853, 862, 870, 872, 874, 883, 884, 885, 886, 888, 889, 892, 893, 895, 897, 907, 908, 909, 910, 912, 913, 916, 917, 918, 920, 923, 924, 925, 926, 927, 928, 929, 930, 932, 934, 941, 942, 943, 944, 945, 947, 948, 949, 950, 953, 955, 961, 967, 968, 969, 970, 971, 972, 973], "excluded_lines": [29, 30, 393, 394, 395, 396, 397, 398, 399, 400, 401, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 436, 437, 438, 439, 440, 441, 442, 443, 444, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 580, 581, 582, 583, 584
|
Coverage
Starting action
|
Coverage
HTTP Request: GET https://api.github.com/repos/github/annotated-logger "HTTP/1.1 200 OK"
|
Coverage
Generating comment for PR
|