mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
Keep release smoke dependencies stable
This commit is contained in:
parent
0671dfd794
commit
663e729c85
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -143,7 +143,7 @@ jobs:
|
||||
export UV_TOOL_DIR="$TOOL_ROOT/tools"
|
||||
export UV_TOOL_BIN_DIR="$TOOL_ROOT/bin"
|
||||
for attempt in {1..40}; do
|
||||
if "$UV_BINARY" tool install --no-cache --prerelease allow --force "archivebox==$VERSION"; then
|
||||
if "$UV_BINARY" tool install --no-cache --force "archivebox==$VERSION"; then
|
||||
break
|
||||
fi
|
||||
if [[ "$attempt" == 40 ]]; then
|
||||
|
||||
@ -28,7 +28,8 @@ def test_release_uses_registered_publisher_and_authorized_tag_credentials():
|
||||
install_script = published_install["run"]
|
||||
assert "sleep 60" not in install_script
|
||||
assert "for attempt in {1..40}" in install_script
|
||||
assert 'tool install --no-cache --prerelease allow --force "archivebox==$VERSION"' in install_script
|
||||
assert 'tool install --no-cache --force "archivebox==$VERSION"' in install_script
|
||||
assert "--prerelease" not in install_script
|
||||
assert "did not become installable from PyPI within 10 minutes" in install_script
|
||||
|
||||
docker_meta = next(step for step in docker_release["steps"] if step.get("id") == "docker_meta")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user