Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
run: >-
uv run --no-project
uv run --no-project --with packaging
python scripts/verify_published_release.py
--manifest candidate/candidate.json
--repository "${{ github.repository }}"
Expand Down
6 changes: 6 additions & 0 deletions tests/test_release_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ def artifact_names(job: str, action: str) -> list[str]:
assert release["jobs"]["publish"]["needs"] == ["preflight", "documentation"]
assert release["jobs"]["github-release"]["needs"] == ["preflight", "publish"]
assert release["jobs"]["post-publication"]["needs"] == ["preflight", "github-release"]
published_verification = next(
step["run"]
for step in release["jobs"]["post-publication"]["steps"]
if step.get("name") == "Verify PyPI metadata and GitHub release digests"
)
assert "uv run --no-project --with packaging" in published_verification


def test_external_workflow_actions_use_full_commit_pins() -> None:
Expand Down
Loading