-
Notifications
You must be signed in to change notification settings - Fork 33
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
Only run cleanup if tests ran, adds pytest marker config for slow tests #595
Merged
Conversation
This file contains 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
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #595 +/- ##
=======================================
Coverage 88.78% 88.78%
=======================================
Files 81 81
Lines 5027 5027
=======================================
Hits 4463 4463
Misses 564 564 ☔ View full report in Codecov by Sentry. |
dorotat-nv
approved these changes
Jan 14, 2025
pstjohn
force-pushed
the
pstjohn-patch-2
branch
from
January 14, 2025 17:29
95d6e4c
to
d0d142f
Compare
pstjohn
requested review from
jstjohn,
malcolmgreaves,
ohadmo and
trvachov
as code owners
January 14, 2025 17:29
pstjohn
changed the title
Only run cleanup if tests ran
Only run cleanup if tests ran, adds pytest marker config for slow tests
Jan 14, 2025
pstjohn
force-pushed
the
pstjohn-patch-2
branch
from
January 14, 2025 17:32
d0d142f
to
8a538ba
Compare
jstjohn
reviewed
Jan 14, 2025
jstjohn
approved these changes
Jan 14, 2025
pstjohn
added
the
ready
PRs that are ready to merge, to coordinate while we don't have a merge queue
label
Jan 14, 2025
pstjohn
force-pushed
the
pstjohn-patch-2
branch
from
January 14, 2025 22:36
5ba3497
to
a16797b
Compare
pstjohn
commented
Jan 14, 2025
pstjohn
commented
Jan 14, 2025
pstjohn
added
the
INCLUDE_NOTEBOOKS_TESTS
Add Jupyter notebook validation to the CI pipeline
label
Jan 15, 2025
Only run cleanup if tests ran Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
pstjohn
force-pushed
the
pstjohn-patch-2
branch
from
January 15, 2025 13:28
6d4d9f1
to
80547b7
Compare
Signed-off-by: Peter St. John <[email protected]>
dorotat-nv
approved these changes
Jan 15, 2025
/build-ci |
sichu2023
pushed a commit
that referenced
this pull request
Jan 17, 2025
…ts (#595) ### Description We don't need to fail the cleanup step if we never ran the tests, this deletes the image from the GPU worker to save space. Also adds the missing pytest marker configuration to our pytest.ini for skipping slow tests. ### Type of changes <!-- Mark the relevant option with an [x] --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Refactor - [ ] Documentation update - [ ] Other (please describe): ### CI Pipeline Configuration Configure CI behavior by checking relevant boxes below. This will automatically apply labels. - [ ] [SKIP_CI](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#skip_ci) - Skip all continuous integration tests - [ ] [INCLUDE_NOTEBOOKS_TESTS](https://github.com/NVIDIA/bionemo-framework/blob/main/docs/docs/user-guide/contributing/contributing.md#include_notebooks_tests) - Execute notebook validation tests in pytest > [!NOTE] > By default, the notebooks validation tests are skipped unless explicitly enabled. ### Usage <!--- How does a user interact with the changed code --> ```python TODO: Add code snippet ``` ### Pre-submit Checklist <!--- Ensure all items are completed before submitting --> - [ ] I have tested these changes locally - [ ] I have updated the documentation accordingly - [ ] I have added/updated tests as needed - [ ] All existing tests pass successfully --------- Signed-off-by: Peter St. John <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
INCLUDE_NOTEBOOKS_TESTS
Add Jupyter notebook validation to the CI pipeline
ready
PRs that are ready to merge, to coordinate while we don't have a merge queue
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.
Description
We don't need to fail the cleanup step if we never ran the tests, this deletes the image from the GPU worker to save space. Also adds the missing pytest marker configuration to our pytest.ini for skipping slow tests.
Type of changes
CI Pipeline Configuration
Configure CI behavior by checking relevant boxes below. This will automatically apply labels.
Note
By default, the notebooks validation tests are skipped unless explicitly enabled.
Usage
Pre-submit Checklist