testsAndMisc/.github/workflows
Krzysztof kuhy Rudnicki 1351a1460f
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
Cache pip and pre-commit envs in CI
Measured per-step timings, rather than guessing where the time went:

  Pre-commit checks   Install dependencies  63s   (next slowest: 16s)
  Python tests        Install dependencies  49s   (pytest itself: 35s)

Both workflows re-downloaded ~80 packages from PyPI on every run. The
Node workflows already cache npm; the Python ones were the outliers.

  * cache: pip on actions/setup-python in both, keyed on
    meta/requirements.txt -- the REAL file, not the root symlink, since
    the key is hashed from the file at the given path and hashing a
    symlink is not hashing its target. (That same symlink already cost
    us a silently-skipped workflow earlier today.)
  * ~/.cache/pre-commit via actions/cache@v4, keyed on
    .pre-commit-config.yaml. pre-commit builds a virtualenv per hook repo
    on first use, which costs more than the pip install itself, and it
    only needs rebuilding when a hook's repo or rev changes.

The first run after this lands is a cache miss and will be no faster;
the saving starts from the second.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJrqKERAo5QUeEHWS5Asgp
2026-08-23 16:24:17 +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
poker-stakes-ci.yml Track poker-stakes so the file-length cap can reach it 2026-08-16 15:19:07 +02:00
pre-commit.yml Cache pip and pre-commit envs in CI 2026-08-23 16:24:17 +02:00
python-tests.yml Cache pip and pre-commit envs in CI 2026-08-23 16:24:17 +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: skip the kcov-jail suites instead of failing to install kcov 2026-08-22 12:31:36 +02:00