Skip to content

Add diff-cover check in GHA#803

Merged
lepture merged 1 commit intoauthlib:mainfrom
azmeuk:diff
Aug 26, 2025
Merged

Add diff-cover check in GHA#803
lepture merged 1 commit intoauthlib:mainfrom
azmeuk:diff

Conversation

@azmeuk
Copy link
Member

@azmeuk azmeuk commented Aug 25, 2025

What kind of change does this PR introduce?

This adds a diff-cover step to GHA that enforces that every new or modified line of code is covered.

I find this is a good (although imperfect) way to progressively increase code coverage.
What do you think?

Checklist

  • You ran the linters with pre-commit.

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

@lepture lepture merged commit 799fb2a into authlib:main Aug 26, 2025
8 checks passed
@lepture
Copy link
Member

lepture commented Aug 26, 2025

@azmeuk azmeuk deleted the diff branch August 26, 2025 06:41
@azmeuk
Copy link
Member Author

azmeuk commented Aug 26, 2025

Nice, I did not know prek! I'll open a PR for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants