fix(ci): clean dist/ before build to prevent stale artifact reuse#12
Merged
Conversation
…erates bee-themed features directory
…es --beehave-sample
- Catch SystemExit from run_hatch() in pytest_configure and call pytest.exit(str(exc), returncode=1) for a clean exit instead of INTERNALERROR - Fix plugin_test.py mock so getoption returns False, preventing hatch branch from triggering and silently blocking 3 tests - Rewrite test_example_hatch_5e6f7a8b to use pytest.main() at CLI boundary, capturing stderr and asserting returncode==1 + conflicting path in output - Rewrite test_example_hatch_3c4d5e6f to use pytest.main() with stdout capture, asserting each written .feature relative path appears in output
…t exits non-zero
…top-level functions
…location, idempotency
… non-conforming skips
…kip with deprecated marker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rm -rf dist/step beforeuv buildin the PyPI publish workflow to ensure stale build artifacts don't get reusedRoot cause
The workflow was reusing old files from
dist/directory, causing the wrong version (3.0) to be published instead of the new version (3.2).Fix