jwt-auth icon indicating copy to clipboard operation
jwt-auth copied to clipboard

ci(GitHub): update coverage reports

Open leon0399 opened this issue 3 years ago • 13 comments

switch to codecov v2 uploader, add comments and checks for each build

leon0399 avatar Dec 27 '21 11:12 leon0399

Codecov Report

Merging #92 (cd49063) into develop (8943820) will increase coverage by 0.35%. The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #92      +/-   ##
=============================================
+ Coverage      93.43%   93.79%   +0.35%     
- Complexity       401      406       +5     
=============================================
  Files             41       41              
  Lines            883      934      +51     
=============================================
+ Hits             825      876      +51     
  Misses            58       58              
Impacted Files Coverage Δ
src/Token.php 100.00% <0.00%> (ø)
src/JWTAuth.php 100.00% <0.00%> (ø)
src/Blacklist.php 100.00% <0.00%> (ø)
src/Claims/Claim.php 100.00% <0.00%> (ø)
src/Claims/Custom.php 100.00% <0.00%> (ø)
src/Claims/NotBefore.php 100.00% <0.00%> (ø)
src/Claims/Collection.php 100.00% <0.00%> (ø)
src/Claims/Expiration.php 100.00% <0.00%> (ø)
src/Http/Parser/Parser.php 100.00% <0.00%> (ø)
src/Http/Parser/Cookies.php 100.00% <0.00%> (ø)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8943820...cd49063. Read the comment docs.

codecov-commenter avatar Dec 27 '21 16:12 codecov-commenter

@mfn as we discussed in #78 I've enabled coverage report. It will only comment if coverage was actually changed. I also updated to latest action version, since prev one was deprecated, and enabled coverage collection to each build, instead of selected one, Codecov can handle it and mergese theses reports properly

leon0399 avatar Dec 27 '21 17:12 leon0399

@leon0399 LGTM!

Is the codecov comment so verbose because it was "just enabled" https://github.com/PHP-Open-Source-Saver/jwt-auth/pull/92#issuecomment-1001655914 ?

mfn avatar Dec 28 '21 21:12 mfn

@leon0399 LGTM!

Is the codecov comment so verbose because it was "just enabled" #92 (comment) ?

No, we actually can configure which parts of report we need https://docs.codecov.com/docs/pull-request-comments

leon0399 avatar Dec 29 '21 10:12 leon0399

Okay :)

Is the "graphic" useful?

Is showing files at 100% really useful?

I suggest to trim it down to what is truly additional + beneficial + actionable information to the author of a PR

mfn avatar Dec 29 '21 13:12 mfn

Is the "graphic" useful?

Is showing files at 100% really useful?

I suggest to trim it down to what is truly additional + beneficial + actionable information to the author of a PR

I also thought of keeping only diff part, but thought to see which part we actually look into when reviewing and change after

leon0399 avatar Dec 29 '21 13:12 leon0399

Not super sold on it but looking forward how it plays out, thank you!

Those conflicts you'll solve it? I can take a look once I got some time if you want to.

Messhias avatar Jan 20 '22 21:01 Messhias

Not super sold on it but looking forward how it plays out, thank you!

Those conflicts you'll solve it? I can take a look once I got some time if you want to.

I'll fix it later today

leon0399 avatar Jan 21 '22 11:01 leon0399

How about this MR? We're still having conflicts, @leon0399 can you solve it today since you're the one who knows what's going on behind it.

Messhias avatar Feb 15 '22 09:02 Messhias

@mfn do you understand those CI's? Because if we don't merge it'll soonly appear more conflicts.

If no one can solve I'll take some time next to try to fix it.

Messhias avatar Feb 18 '22 21:02 Messhias

@mfn since @leon0399 is been away for a while, what do you think to we solve those conflicts, or do you think it's better to wait for @leon0399 back?

Messhias avatar Mar 22 '22 07:03 Messhias

@Messhias I've no motivation to touch this and I'm fine waiting for @leon0399

mfn avatar Mar 23 '22 22:03 mfn

@leon0399 are you going to update this PR?

Messhias avatar Jun 22 '22 10:06 Messhias

@leon0399 how are you? It's been a long time since you didn't give feedback.

Anyway, If I got some time on the weekend I'll take a look at this, I've passed a hard time here at the end of the year.

Messhias avatar Nov 28 '22 12:11 Messhias

This MR will be closed since the author didn't give feedback and no one continued his started job. We can re-open it in the future to add this new feature.

Messhias avatar Mar 27 '23 16:03 Messhias