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

Enable branch coverage in pytest by updating pyproject.toml #2510

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheHillofSunflowers
Copy link

Adds the following to 'pyproject.toml'

[tool.coverage.run] branch = true

PR for Issue #2501

@github-actions github-actions bot added the dependencies Packaging and dependencies label Jan 9, 2025
@TheHillofSunflowers
Copy link
Author

This is my first time contributing to any open source project. As the goal is to reach 100% coverage in all files, should I continue to commit unit tests to this PR? If I wanted to add or modify more unit tests, should I make separate PRs for each test file?

@adamjstewart
Copy link
Collaborator

Both are fine, you can either add all tests to this PR or create new PRs for subsets of the code (datasets, models, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Packaging and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants