Skip to content

Conversation

@ankitaluthra1
Copy link
Collaborator

  • Adds automated code coverage tracking to maintain testing standards and prevent regression in future contributions.

  • Updates the CI pipeline to generate XML reports using pytest-cov and uploads them to Codecov for immediate visibility

  • Implements a strict codecov.yml policy that fails the build if test coverage declines, ensuring all new code is adequately tested

* Adds test coverage check in repo

* Adds pytest covergae dependency

* Update threshold for new code
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@ankitaluthra1 ankitaluthra1 marked this pull request as ready for review January 28, 2026 14:34
@ankitaluthra1
Copy link
Collaborator Author

@martindurant Can you take a quick look, if its okay with you to add test coverage check in the ci, would make remaining changes in repo and merge this PR

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

Have you created this secret?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not yet, was waiting for you to LGTM this PR ( in case you had any apprehensions for codecov). I ll also add codecov github app

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can you please add me in users in codecov settings. I dont have permission to see the access token

Copy link
Member

Choose a reason for hiding this comment

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

How do I do that?

I do already see some data at https://app.codecov.io/github/fsspec/gcsfs/commits

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.

3 participants