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

enable nolegacypath tox factor #146

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

braingram
Copy link
Collaborator

@braingram braingram commented Feb 28, 2024

Fixes: #145

Add a nolegacypath tox factor that run pytest with -p no:legacypath which will produce errors if legacy "non-path" fixtures/features are used.

A tox factor was added to allow the downstream jobs (like romancal and jwst) to run without -p no:legacypath as we are mainly concerned here that stpipe does not use legacy path features in it's test suite (not the test suites of romancal and jwst).

@braingram braingram added the no-changelog-entry-needed does not require an entry in `CHANGES.rst` label Feb 28, 2024
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.25%. Comparing base (f9411a9) to head (44c1250).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   59.25%   59.25%           
=======================================
  Files          24       24           
  Lines        1615     1615           
=======================================
  Hits          957      957           
  Misses        658      658           

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

@braingram braingram marked this pull request as ready for review February 28, 2024 17:13
@braingram braingram requested a review from a team as a code owner February 28, 2024 17:13
Copy link
Contributor

@jdavies-st jdavies-st left a comment

Choose a reason for hiding this comment

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

🎉

@braingram braingram requested a review from nden February 29, 2024 14:38
@braingram
Copy link
Collaborator Author

Thanks @jdavies-st for the review. I just requested @nden for a review to hopefully appease the branch protection (I'm assuming @jdavies-st is not listed as an approved reviewer?).

@nden nden merged commit 824863e into spacetelescope:main Feb 29, 2024
16 checks passed
@braingram braingram deleted the no_legacypath branch February 29, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog-entry-needed does not require an entry in `CHANGES.rst`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use tmp_path instead of tmpdir pytest fixture
3 participants