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
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ runs:
# into every consumer's CI with no commit here to review it. The
# `latest-patchrail` job in .github/workflows/test.yml runs this same
# path against the newest release, so the range moves deliberately.
python -m pip install --quiet "patchrail>=0.3.1,<0.5.0"
#
# Floor is 0.5.0: every release below it reads a tool the job merely
# named — a `GRADLE_HOME=` line, a `Collecting mypy` from pip — as the
# cause of death, so it annotates the PR with a confident wrong answer.
python -m pip install --quiet "patchrail>=0.5.0,<0.6.0"
fi

- name: Explain failure and annotate
Expand Down
2 changes: 1 addition & 1 deletion tests/test_schema_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# test agree with any future edit to it, which is the drift it exists to catch.
SUPPORTED_SCHEMA = "patchrail.ci_result.v1"

# What patchrail emits today (verified against 0.3.1 and 0.4.0).
# What patchrail emits today (verified against 0.3.1, 0.4.0 and 0.5.0).
V1_RESULT = {
"schema_version": SUPPORTED_SCHEMA,
"failure_class": "python_test_failure",
Expand Down
Loading