Skip to content

Enable warnings-as-errors in notebook CI and nightly workflows#155

Draft
BoxiLi wants to merge 1 commit intoqutip:mainfrom
BoxiLi:warning-to-error
Draft

Enable warnings-as-errors in notebook CI and nightly workflows#155
BoxiLi wants to merge 1 commit intoqutip:mainfrom
BoxiLi:warning-to-error

Conversation

@BoxiLi
Copy link
Copy Markdown
Member

@BoxiLi BoxiLi commented Apr 29, 2026

This PR makes notebook execution fail on Python warnings in both the regular CI and nightly GitHub Actions workflows by adding -W error to the pytest --nbmake commands.

This helps catch deprecations and suspicious runtime behavior earlier, instead of letting notebooks pass with warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant