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 @@ -250,7 +250,7 @@ jobs:
- name: Install and exercise the published wheel
run: |
uv venv --clear --python 3.12 "$RUNNER_TEMP/published-venv"
uv pip install --python "$RUNNER_TEMP/published-venv/bin/python" --index-url https://pypi.org/simple "ml4t-backtest==${{ needs.preflight.outputs.version }}"
uv pip install --python "$RUNNER_TEMP/published-venv/bin/python" --index-url https://pypi.org/simple --refresh-package ml4t-backtest "ml4t-backtest==${{ needs.preflight.outputs.version }}"
"$RUNNER_TEMP/published-venv/bin/python" -I -c "import ml4t.backtest as package; assert package.__version__ == '${{ needs.preflight.outputs.version }}'"
"$RUNNER_TEMP/published-venv/bin/python" validation/check_documentation_examples.py

Expand Down
1 change: 1 addition & 0 deletions tests/contracts/test_release_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def test_release_reuses_all_ci_gates_and_publishes_the_exact_candidate() -> None
assert "release_candidate.py verify-index" in post_commands
assert "gh release download" in post_commands
assert "ml4t-backtest==${{ needs.preflight.outputs.version }}" in post_commands
assert "--refresh-package ml4t-backtest" in post_commands
recovery = release_jobs["record-recovery"]
assert "needs.publish.result == 'success'" in recovery["if"]
recovery_commands = "\n".join(step.get("run", "") for step in recovery["steps"])
Expand Down