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

added slow test label and execute full testing suite before merge #634

Merged
merged 16 commits into from
Jan 24, 2025

Conversation

dorotat-nv
Copy link
Collaborator

@dorotat-nv dorotat-nv commented Jan 22, 2025

Description

Adding INCLUDE_SLOW_TESTS label which runs tests of slower execution as well as enforcing full scope testing in CI pipelines for merge_queue event

Updated documentation

Type of changes

  • 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 applying the relevant labels:

Note

By default, the notebooks validation tests are skipped unless explicitly enabled.

Usage

TODO: Add code snippet

Pre-submit Checklist

  • I have tested these changes locally
  • I have updated the documentation accordingly
  • I have added/updated tests as needed
  • All existing tests pass successfully

@dorotat-nv dorotat-nv added INCLUDE_NOTEBOOKS_TESTS Add Jupyter notebook validation to the CI pipeline test/L1 labels Jan 22, 2025
@dorotat-nv dorotat-nv self-assigned this Jan 22, 2025
@dorotat-nv dorotat-nv requested a review from pstjohn January 22, 2025 17:26
@dorotat-nv dorotat-nv added the INCLUDE_SLOW_TESTS Add unit tests marked as slow to CI pipeline label Jan 22, 2025
@dorotat-nv dorotat-nv requested a review from pstjohn January 22, 2025 17:49
@pstjohn pstjohn removed the test/L1 label Jan 22, 2025
Signed-off-by: Peter St. John <[email protected]>
@dorotat-nv dorotat-nv removed INCLUDE_NOTEBOOKS_TESTS Add Jupyter notebook validation to the CI pipeline INCLUDE_SLOW_TESTS Add unit tests marked as slow to CI pipeline labels Jan 23, 2025
@dorotat-nv
Copy link
Collaborator Author

tests are failing due to being broken on main

@dorotat-nv dorotat-nv added the INCLUDE_NOTEBOOKS_TESTS Add Jupyter notebook validation to the CI pipeline label Jan 23, 2025
@dorotat-nv dorotat-nv changed the title added testing label added slow test label and execute full testing suite before merge Jan 23, 2025
@dorotat-nv dorotat-nv enabled auto-merge January 23, 2025 15:57
pstjohn added a commit that referenced this pull request Jan 23, 2025
This is one remaining outlier in our current test suite that takes a long time to run (~3 minutes by itself). https://app.codecov.io/gh/NVIDIA/bionemo-framework/tests/main

With #634 we'll run these tests anyways during the merge queue step, but marking this as slow should speed up the coverage runs in PRs and post-merge

Signed-off-by: Peter St. John <[email protected]>
pstjohn added a commit that referenced this pull request Jan 23, 2025
This is one remaining outlier in our current test suite that takes a long time to run (~3 minutes by itself). https://app.codecov.io/gh/NVIDIA/bionemo-framework/tests/main

With #634 we'll run these tests anyways during the merge queue step, but marking this as slow should speed up the coverage runs in PRs and post-merge

Signed-off-by: Peter St. John <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.75%. Comparing base (80d7000) to head (38e18db).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #634   +/-   ##
=======================================
  Coverage   86.75%   86.75%           
=======================================
  Files         118      118           
  Lines        7058     7058           
=======================================
  Hits         6123     6123           
  Misses        935      935           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dorotat-nv dorotat-nv added this pull request to the merge queue Jan 23, 2025
auto-merge was automatically disabled January 23, 2025 22:45

Pull Request is not mergeable

github-merge-queue bot pushed a commit that referenced this pull request Jan 23, 2025
This is one remaining outlier in our current test suite that takes a
long time to run (~3 minutes by itself).
https://app.codecov.io/gh/NVIDIA/bionemo-framework/tests/main

With #634 we'll run these tests anyways during the merge queue step, but
marking this as slow should speed up the coverage runs in PRs and
post-merge

---------

Signed-off-by: Peter St. John <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Jan 24, 2025
@dorotat-nv dorotat-nv enabled auto-merge January 24, 2025 13:06
@dorotat-nv dorotat-nv added this pull request to the merge queue Jan 24, 2025
Merged via the queue into main with commit 5eaa378 Jan 24, 2025
9 checks passed
@dorotat-nv dorotat-nv deleted the dorotat/slow-unit-tests branch January 24, 2025 14:30
polinabinder1 pushed a commit that referenced this pull request Jan 28, 2025
This is one remaining outlier in our current test suite that takes a
long time to run (~3 minutes by itself).
https://app.codecov.io/gh/NVIDIA/bionemo-framework/tests/main

With #634 we'll run these tests anyways during the merge queue step, but
marking this as slow should speed up the coverage runs in PRs and
post-merge

---------

Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Polina Binder <[email protected]>
polinabinder1 pushed a commit that referenced this pull request Jan 28, 2025
### Description
Adding INCLUDE_SLOW_TESTS label which runs tests of slower execution as
well as enforcing full scope testing in CI pipelines for merge_queue
event

Updated documentation

### Type of changes
<!-- Mark the relevant option with an [x] -->

- [ ]  Bug fix (non-breaking change which fixes an issue)
- [x]  New feature (non-breaking change which adds functionality)
- [ ]  Refactor
- [ ]  Documentation update
- [ ]  Other (please describe):

### CI Pipeline Configuration
Configure CI behavior by applying the relevant 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]>
Signed-off-by: Dorota Toczydlowska <[email protected]>
Co-authored-by: Peter St. John <[email protected]>
Signed-off-by: Polina Binder <[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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants