Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR test coverage requirement #1041

Closed
zkrige opened this issue Feb 22, 2024 · 7 comments · Fixed by #1136 · May be fixed by #1137
Closed

PR test coverage requirement #1041

zkrige opened this issue Feb 22, 2024 · 7 comments · Fixed by #1136 · May be fixed by #1137

Comments

@zkrige
Copy link
Collaborator

zkrige commented Feb 22, 2024

Any new PR's should have minimum test coverage requirements of 80% - but only for the changes.

so if theres 20 lines changed, 16 of them should be covered by tests

@ayushmanchhabra
Copy link
Collaborator

What's weird is that in both #1035 and #1040, the symlinks test passed in GitHub CI but failed on your local machine (or was it CircleCI?).

@zkrige
Copy link
Collaborator Author

zkrige commented Feb 22, 2024

that is weird. it was failing on my local Mac AND on circle build. When I get a chance I'll review those tests to check if they're testing the right thing

@zkrige
Copy link
Collaborator Author

zkrige commented Feb 22, 2024

ah - the decompress.test.js doesnt actually test if symlinks exist after extracting. it just runs runs a decompress and then continues. the macOS one should ALSO check that symlinks exist once decompress has finished

@ayushmanchhabra
Copy link
Collaborator

Any new PR's should have minimum test coverage requirements of 80% - but only for the changes.

https://coveralls.io/ ?

@zkrige
Copy link
Collaborator Author

zkrige commented Feb 24, 2024

I think this is more relevant https://github.com/Bachmann1234/diff_cover

@ayushmanchhabra
Copy link
Collaborator

ayushmanchhabra commented Jun 22, 2024

This has been resolved in #1120. I forgot to link the issue in the PR.

@ayushmanchhabra
Copy link
Collaborator

Accidently closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants