Comments are only sent when GNU/BFS test compatibility changes.#407
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #407 +/- ##
=======================================
Coverage 65.31% 65.31%
=======================================
Files 34 34
Lines 3941 3941
Branches 903 903
=======================================
Hits 2574 2574
Misses 1001 1001
Partials 366 366 ☔ View full report in Codecov by Sentry. |
|
|
||
| console.log(annotationContent); | ||
| // check if no changes | ||
| let gnuTestReport = annotationContent.includes('Run GNU findutils tests: Changes from main: PASS +0 / FAIL +0 / ERROR +0 / SKIP +0'); |
There was a problem hiding this comment.
this seems a bit fragile. In the json, we don't have the number to do some if > 0 ?
There was a problem hiding this comment.
That might mean getting the results for the master branch in comment.yml and comparing them to bfs-result.json and gnu-result.json? I think this might be a bit repetitive and complicated.
How about changing compare_bfs_result.py to send a Github Actions Annotations using print(f"::warning :: BFS tests no change.") and catch annotation in comment.yml when compatibility is unchanged?
There was a problem hiding this comment.
yeah, probably better and easier
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
i guess it isn't ready yet, right ? :) |
|
Yeah, I haven't tested this code on my fork yet. |
|
@sylvestre done. |
|
GNU testsuite comparison: |
|
sorry, looks like i wasn't cleary. What I would like is to have nothing to display when we should only display something when we noticed changes in bfs or gnu tests |
No, actually it does not send comments when it contains |
|
ok, let's see :) |
Tested in fork, this change may still only take effect after being merged.