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

Update interface-unit-tests.yml pytest warning level handling #6880

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

mudit2812
Copy link
Contributor

@mudit2812 mudit2812 commented Jan 24, 2025

CI is hiding deprecation warnings, because the use of -W (introduced to support the warnings-as-errors workflow) overrides pytest.ini. This PR moves the creation of the pytest arg to a separate job, and uses the output of this job as the pytest arg. This way, we can avoid using -W altogether if the warnings-as-errors workflow isn't running.

[sc-83043]

@mudit2812 mudit2812 requested a review from rashidnhm January 24, 2025 16:52
Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Copy link
Contributor

@rashidnhm rashidnhm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries on the CI changes on the PR. Though I suspect failures to crop up on this PR due to deprecation warnings that may have been suppressed due to this.

I leave fixing that to the PL team, approving within the context of CI changes

@mudit2812
Copy link
Contributor Author

mudit2812 commented Jan 24, 2025

Going to run the warnings-as-errors workflow to see if it works as expected as well. Run linked here.

@mudit2812 mudit2812 marked this pull request as draft January 24, 2025 17:32
@mudit2812 mudit2812 marked this pull request as ready for review January 24, 2025 17:51
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.54%. Comparing base (afec979) to head (a73823c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6880   +/-   ##
=======================================
  Coverage   99.54%   99.54%           
=======================================
  Files         477      477           
  Lines       45246    45246           
=======================================
  Hits        45042    45042           
  Misses        204      204           

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

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.

3 participants