-
Notifications
You must be signed in to change notification settings - Fork 37
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
run pytest with or without docs and notebooks in run_pytest.sh #569
Conversation
/build-ci |
/build-ci |
1 similar comment
/build-ci |
/build-ci |
/build-ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but see my comment about the --nbval-lax
argument. Maybe change the option to --skip-notebooks
and if that's set then drop that kwarg.
/build-ci |
/build-ci |
/build-ci |
/build-ci |
One thought: when you run docs, there is only notebook validation in there. I am a bit worried a user will add a notebook to docs, set
Note that only saying My proposal would be to, for now, only have |
/build-ci |
Signed-off-by: dorotat-nv <dorotat@nvidia.com>
Signed-off-by: dorotat-nv <dorotat@nvidia.com>
Signed-off-by: dorotat-nv <dorotat@nvidia.com>
Signed-off-by: dorotat-nv <dorotat@nvidia.com>
/build-ci |
Description
We've streamlined our testing workflow to improve CI efficiency. By default, documentation tests and notebook validations are skipped to reduce pipeline duration.
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
When running tests locally, use these flags to control test execution:
Control test pipeline execution by adding these labels to your PR:
RUN_DOCS
- Enables documentation testingRUN_NOTEBOOKS_VALIDATION
- Enables notebook validationPre-submit Checklist