Repository navigation
Add instructions to run tests locally - #1792
Draft
santisoler wants to merge 1 commit into
Draft
santisoler wants to merge 1 commit into
santisoler wants to merge 1 commit into
Conversation
Include instructions on how to run tests locally using `pytest` to the Contributor guide.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1792 +/- ##
==========================================
- Coverage 81.75% 81.75% -0.01%
==========================================
Files 425 425
Lines 55773 55773
Branches 5298 5298
==========================================
- Hits 45600 45595 -5
- Misses 8761 8763 +2
- Partials 1412 1415 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
The recommended line to run test will lead to failure because dask tests are also being triggered. That means the |
rmz-oz
reviewed
Oct 10, 2026
Comment on lines
+41
to
+42
| where ``-v`` stands for the ``--verbose`` option, that will make ``pytest`` to show more information regarding the tests. | ||
| By adding the ``--cov`` and the ``--cov-conf`` options, we can also get a coverage report after running the tests locally. |
There was a problem hiding this comment.
the prose says --cov-conf but the command right above uses --cov-config, and pytest-cov 7.1 rejects the short one (unrecognized arguments: --cov-conf), so I'd match it. also dropped the "to" in "make pytest to show".
Suggested change
| where ``-v`` stands for the ``--verbose`` option, that will make ``pytest`` to show more information regarding the tests. | |
| By adding the ``--cov`` and the ``--cov-conf`` options, we can also get a coverage report after running the tests locally. | |
| where ``-v`` stands for the ``--verbose`` option, that will make ``pytest`` show more information regarding the tests. | |
| By adding the ``--cov`` and the ``--cov-config`` options, we can also get a coverage report after running the tests locally. |
santisoler
marked this pull request as draft
October 13, 2026 15:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Include instructions on how to run tests locally using
pytestto the Contributor guide.PR Checklist
expect style.
to a Pull Request
@simpeg/simpeg-developerswhen ready for review.Reference issue
Fix #1340
What does this implement/fix?
Additional information