Skip to content

Commit

Permalink
ENH: Coverage in actions : 1 comment by Python version (#136)
Browse files Browse the repository at this point in the history
* FIX: Issue Number

* ADD: 1 comment for each Python version

* ADD: python version in title
  • Loading branch information
VincentAuriau authored Jul 25, 2024
1 parent a78ccb1 commit eb8a66c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
with:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
issue-number: 101
issue-number: '101'
unique-id-for-comment: ${{ matrix.python-version }}
title: 'Coverage Report for Python ${{ matrix.python-version }}'
2 changes: 2 additions & 0 deletions .github/workflows/pr_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jobs:
pytest-coverage-path: ./pytest-coverage.txt
junitxml-path: ./pytest.xml
report-only-changed-files: true
unique-id-for-comment: ${{ matrix.python-version }}
title: 'Coverage Report for Python ${{ matrix.python-version }}'

3 comments on commit eb8a66c

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report for Python 3.11
FileStmtsMissCoverMissing
choice_learn
   tf_ops.py471764%45, 141–143, 199–203, 220–231
choice_learn/data
   choice_dataset.py62817971%67, 78, 101–112, 123, 145–153, 159, 168–177, 190–203, 221–288, 306–325, 333–339, 341, 353, 394–401, 408, 420, 450–451, 472, 482–483, 491, 519, 552, 559–568, 576–578, 585, 592, 633–634, 713, 727–733, 756–759, 829, 831, 867, 921, 926, 937–938, 969–970, 974–981, 986–997, 1004, 1008, 1102, 1116, 1135–1137, 1150–1152, 1180, 1185, 1194, 1206–1211, 1252, 1264, 1278, 1293, 1305, 1317, 1332, 1337, 1360, 1362, 1366, 1374–1375, 1379, 1387–1388, 1394–1398, 1403–1407, 1411, 1414–1415, 1462, 1479–1480, 1495, 1510
   indexer.py2337070%20, 31, 45, 60–67, 99, 103, 105–108, 179, 184–187, 203–205, 220–231, 261, 266, 288, 292, 336, 393, 409, 423, 492–493, 517, 524, 532, 545–567, 570–591, 601, 613
   storage.py1572286%22, 33, 51, 56, 61, 71, 151, 153, 160, 162, 166, 173, 176, 235–236, 262, 290, 360, 366, 384, 414, 424
   store.py72720%2–274
choice_learn/datasets
   base.py34320141%36, 61–68, 90–96, 118, 185, 191–220, 225–294, 309–358, 373–405, 414–481, 566–578, 581–584, 587, 594–605, 609–622, 631–657, 665, 671, 738, 825, 870, 919, 1004
   expedia.py1029210%26–299
   tafeng.py49198%50
choice_learn/models
   __init__.py12283%12–13
   base_model.py24010556%92, 97–98, 105–123, 164, 200–228, 261, 279–320, 327, 356, 370, 375, 383–411, 416–417, 462–495, 505–513, 531–546, 612–613, 615–620, 668–670, 692–714, 769, 771–774
   conditional_logit.py23213741%45, 48, 50, 81, 84, 87–91, 94–98, 132, 135, 175–178, 297, 334, 386, 433–571, 588–593, 620–629, 645–666, 691–715, 719–742
   latent_class_base_model.py1861860%3–609
   latent_class_mnl.py59590%3–299
   nested_logit.py2882629%54–82, 124–162, 188, 220, 229–236, 251–274, 284–317, 327–348, 358–359, 393–542, 581–623, 659–702, 719–724, 751–760, 776–797, 822–869, 878–904
   rumnet.py24115934%171–175, 186–218, 235–243, 268–272, 285–317, 334–341, 364–368, 381–417, 432–442, 532, 534, 561–567, 636–680, 719–763, 804–831, 885–937, 967–991, 1026–1080, 1119–1163, 1201–1228
   simple_mnl.py1379233%75–81, 92–98, 134–172, 199, 233, 250–271, 296–320, 324–352
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2382380%2–674
   or_tools_opt.py2262260%3–666
TOTAL3669220340% 

Tests Skipped Failures Errors Time
59 0 💤 0 ❌ 0 🔥 51.866s ⏱️

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report for Python 3.9
FileStmtsMissCoverMissing
choice_learn
   tf_ops.py471764%45, 141–143, 199–203, 220–231
choice_learn/data
   choice_dataset.py62817971%67, 78, 101–112, 123, 145–153, 159, 168–177, 190–203, 221–288, 306–325, 333–339, 341, 353, 394–401, 408, 420, 450–451, 472, 482–483, 491, 519, 552, 559–568, 576–578, 585, 592, 633–634, 713, 727–733, 756–759, 829, 831, 867, 921, 926, 937–938, 969–970, 974–981, 986–997, 1004, 1008, 1102, 1116, 1135–1137, 1150–1152, 1180, 1185, 1194, 1206–1211, 1252, 1264, 1278, 1293, 1305, 1317, 1332, 1337, 1360, 1362, 1366, 1374–1375, 1379, 1387–1388, 1394–1398, 1403–1407, 1411, 1414–1415, 1462, 1479–1480, 1495, 1510
   indexer.py2337070%20, 31, 45, 60–67, 99, 103, 105–108, 179, 184–187, 203–205, 220–231, 261, 266, 288, 292, 336, 393, 409, 423, 492–493, 517, 524, 532, 545–567, 570–591, 601, 613
   storage.py1572286%22, 33, 51, 56, 61, 71, 151, 153, 160, 162, 166, 173, 176, 235–236, 262, 290, 360, 366, 384, 414, 424
   store.py72720%2–274
choice_learn/datasets
   base.py34320241%38–39, 61–68, 90–96, 118, 185, 191–220, 225–294, 309–358, 373–405, 414–481, 566–578, 581–584, 587, 594–605, 609–622, 631–657, 665, 671, 738, 825, 870, 919, 1004
   expedia.py1029210%26–299
   tafeng.py49198%50
choice_learn/models
   __init__.py12283%12–13
   base_model.py24010556%92, 97–98, 105–123, 164, 200–228, 261, 279–320, 327, 356, 370, 375, 383–411, 416–417, 462–495, 505–513, 531–546, 612–613, 615–620, 668–670, 692–714, 769, 771–774
   conditional_logit.py23213741%45, 48, 50, 81, 84, 87–91, 94–98, 132, 135, 175–178, 297, 334, 386, 433–571, 588–593, 620–629, 645–666, 691–715, 719–742
   latent_class_base_model.py1861860%3–609
   latent_class_mnl.py59590%3–299
   nested_logit.py2882629%54–82, 124–162, 188, 220, 229–236, 251–274, 284–317, 327–348, 358–359, 393–542, 581–623, 659–702, 719–724, 751–760, 776–797, 822–869, 878–904
   rumnet.py24115934%171–175, 186–218, 235–243, 268–272, 285–317, 334–341, 364–368, 381–417, 432–442, 532, 534, 561–567, 636–680, 719–763, 804–831, 885–937, 967–991, 1026–1080, 1119–1163, 1201–1228
   simple_mnl.py1379233%75–81, 92–98, 134–172, 199, 233, 250–271, 296–320, 324–352
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2362360%2–674
   or_tools_opt.py2262260%3–666
TOTAL3667220240% 

Tests Skipped Failures Errors Time
59 0 💤 0 ❌ 0 🔥 50.485s ⏱️

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report for Python 3.10
FileStmtsMissCoverMissing
choice_learn
   tf_ops.py471764%45, 141–143, 199–203, 220–231
choice_learn/data
   choice_dataset.py62817971%67, 78, 101–112, 123, 145–153, 159, 168–177, 190–203, 221–288, 306–325, 333–339, 341, 353, 394–401, 408, 420, 450–451, 472, 482–483, 491, 519, 552, 559–568, 576–578, 585, 592, 633–634, 713, 727–733, 756–759, 829, 831, 867, 921, 926, 937–938, 969–970, 974–981, 986–997, 1004, 1008, 1102, 1116, 1135–1137, 1150–1152, 1180, 1185, 1194, 1206–1211, 1252, 1264, 1278, 1293, 1305, 1317, 1332, 1337, 1360, 1362, 1366, 1374–1375, 1379, 1387–1388, 1394–1398, 1403–1407, 1411, 1414–1415, 1462, 1479–1480, 1495, 1510
   indexer.py2337070%20, 31, 45, 60–67, 99, 103, 105–108, 179, 184–187, 203–205, 220–231, 261, 266, 288, 292, 336, 393, 409, 423, 492–493, 517, 524, 532, 545–567, 570–591, 601, 613
   storage.py1572286%22, 33, 51, 56, 61, 71, 151, 153, 160, 162, 166, 173, 176, 235–236, 262, 290, 360, 366, 384, 414, 424
   store.py72720%2–274
choice_learn/datasets
   base.py34320141%36, 61–68, 90–96, 118, 185, 191–220, 225–294, 309–358, 373–405, 414–481, 566–578, 581–584, 587, 594–605, 609–622, 631–657, 665, 671, 738, 825, 870, 919, 1004
   expedia.py1029210%26–299
   tafeng.py49198%50
choice_learn/models
   __init__.py12283%12–13
   base_model.py24010556%92, 97–98, 105–123, 164, 200–228, 261, 279–320, 327, 356, 370, 375, 383–411, 416–417, 462–495, 505–513, 531–546, 612–613, 615–620, 668–670, 692–714, 769, 771–774
   conditional_logit.py23213741%45, 48, 50, 81, 84, 87–91, 94–98, 132, 135, 175–178, 297, 334, 386, 433–571, 588–593, 620–629, 645–666, 691–715, 719–742
   latent_class_base_model.py1861860%3–609
   latent_class_mnl.py59590%3–299
   nested_logit.py2882629%54–82, 124–162, 188, 220, 229–236, 251–274, 284–317, 327–348, 358–359, 393–542, 581–623, 659–702, 719–724, 751–760, 776–797, 822–869, 878–904
   rumnet.py24115934%171–175, 186–218, 235–243, 268–272, 285–317, 334–341, 364–368, 381–417, 432–442, 532, 534, 561–567, 636–680, 719–763, 804–831, 885–937, 967–991, 1026–1080, 1119–1163, 1201–1228
   simple_mnl.py1379233%75–81, 92–98, 134–172, 199, 233, 250–271, 296–320, 324–352
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2382380%2–674
   or_tools_opt.py2262260%3–666
TOTAL3669220340% 

Tests Skipped Failures Errors Time
59 0 💤 0 ❌ 0 🔥 51.832s ⏱️

Please sign in to comment.