Restore registered PyPI release workflow path

This commit is contained in:
Nick Sweeting 2026-07-28 13:14:36 -07:00
parent 692dc6658f
commit 2268d591b6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -4,12 +4,12 @@ import yaml
REPO_ROOT = Path(__file__).resolve().parents[2]
RELEASE_WORKFLOW = REPO_ROOT / ".github" / "workflows" / "release-runner.yml"
RELEASE_WORKFLOW = REPO_ROOT / ".github" / "workflows" / "release.yml"
def test_release_uses_registered_publisher_and_authorized_tag_credentials():
assert RELEASE_WORKFLOW.exists()
assert not (REPO_ROOT / ".github" / "workflows" / "release.yml").exists()
assert not (REPO_ROOT / ".github" / "workflows" / "release-runner.yml").exists()
workflow = yaml.safe_load(RELEASE_WORKFLOW.read_text())
jobs = workflow["jobs"]