testsAndMisc/.github/workflows
Krzysztof kuhy Rudnicki 590bc2004d
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run
Python tests / test (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
ci: install jq for the shell tests, and probe for it explicitly
The claude_usage i3blocks tests failed on CI while passing locally.
archlinux:base-devel ships no jq, and claude_usage.sh parses its cache
with it, so the block degraded to its "no data" path and every
percentage assertion failed. That degradation is correct at runtime —
the bar should not break because a tool is missing — but it made a
missing dependency look like a logic bug.

Install jq alongside git and strace, and probe for it at the top of the
section so the failure names its own cause. The probe runs jq rather
than calling `command -v`: a jq that exists but cannot execute produces
exactly the same "no data" output as an absent one, and `command -v`
passes in that case — verified by stubbing a jq that exits 127.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YQLwdquDCNmWtvgi3Lk72J
2026-08-10 15:40:42 +02:00
..
billsplit-ci.yml Move billsplit Flutter app into the monorepo 2026-08-03 12:22:22 +02:00
claude-code-review.yml Fix prettier formatting in claude-code-review.yml 2026-06-22 07:54:32 +02:00
claude.yml Fix CI pipeline and clear the lint backlog it had been hiding 2026-06-22 07:52:44 +02:00
pre-commit.yml Pin prettier, shfmt and zsh too, not just shellcheck 2026-08-04 21:07:49 +02:00
python-tests.yml feat: split oversized modules for 500-line limit, fix kasa coverage gap 2026-06-14 07:19:37 +02:00
reverse-survivors-ci.yml feat(reverse_survivors): migrate Reverse Survivors game into the monorepo 2026-08-03 10:45:12 +02:00
shell-tests.yml ci: install jq for the shell tests, and probe for it explicitly 2026-08-10 15:40:42 +02:00