test(ci): add assertion for uv lock refresh step in CI workflow#303
test(ci): add assertion for uv lock refresh step in CI workflow#303ichoosetoaccept merged 2 commits intomainfrom
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
Greptile SummaryThis PR adds a test asserting that the CI Confidence Score: 5/5Safe to merge — no P0/P1 issues; all previous review concerns have been addressed. Both iterations of feedback from prior review rounds were incorporated in d7e17e0: the assertion uses No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[CI prek job triggered] --> B[actions/checkout]
B --> C[astral-sh/setup-uv]
C --> D["run: uv lock\n(Refresh lockfile)"]
D --> E[j178/prek-action\nSKIP: no-commit-to-main,pytest-testmon,lychee,uv-lock]
subgraph Test["test_ci_prek_refreshes_lockfile"]
T1["assert 'run: uv lock\n' in content"]
T2["lock_idx = content.index('run: uv lock')"]
T3["prek_idx = content.index('j178/prek-action')"]
T4["assert lock_idx < prek_idx"]
T1 --> T2 --> T3 --> T4
end
D -.verified by.-> Test
Reviews (3): Last reviewed commit: "fix(ci): pin GitHub Actions in docs.yml ..." | Re-trigger Greptile |
534e294 to
d7e17e0
Compare
Resolves DOT-306
Closes #