Skip to content

Replace .github/scripts/tmux_build.py with libtmux/setup-tmux - #1123

Open
tony wants to merge 1 commit into
masterfrom
ci/adopt-setup-tmux
Open

tony wants to merge 1 commit into
masterfrom
ci/adopt-setup-tmux

Conversation

@tony

@tony tony commented Dec 2, 2026

Copy link
Copy Markdown
Member

Closes #1122

Summary

  • Replace the apt-get, .github/scripts/tmux_build.py, manual actions/cache, and native cache-recovery steps in .github/workflows/tests.yml with libtmux/setup-tmux@96c8f0d575eae62d1c3419ef919b69ecc43f3cac # v0.1.0
  • Remove .github/scripts/tmux_build.py, .github/scripts/test_tmux_build.py, and .github/tmux-releases.toml
  • Remove .github/scripts from the ruff steps in .github/workflows/tests.yml and [tool.ty.src] in pyproject.toml
  • Update .github/CONTRIBUTING.md to describe libtmux/setup-tmux in CI and point contributors to libtmux/mise-tmux (v0.1.0) for local multi-version tmux testing

Verification

  • grep -rn "tmux_build\|test_tmux_build\|\.github/scripts\|tmux-releases\.toml" --exclude-dir=.git --exclude=CHANGES . returned zero matches

Test plan

  • actionlint .github/workflows/tests.yml
  • uv run ruff check .
  • uv run ruff format . --check
  • uv run ty check
  • GitHub Actions tests workflow passes across the tmux version matrix

why: Replace the per-repo apt-get install, `.github/scripts/tmux_build.py`
source builder, and manual `actions/cache` wiring with the shared
`libtmux/setup-tmux` (`v0.1.0`) action, which serves verified prebuilt
binaries where published and skips apt-get on warm cache hits.

what:
- Replace the apt-get, `tmux_build.py`, cache restore/save, and native
  cache-recovery steps in `.github/workflows/tests.yml` with
  `libtmux/setup-tmux@96c8f0d575eae62d1c3419ef919b69ecc43f3cac # v0.1.0`
- Delete `.github/scripts/tmux_build.py`,
  `.github/scripts/test_tmux_build.py`, and `.github/tmux-releases.toml`
- Drop `.github/scripts` from ruff commands in `tests.yml` and from
  `[tool.ty.src]` in `pyproject.toml`
- Update `.github/CONTRIBUTING.md` for `libtmux/setup-tmux` in CI and
  `libtmux/mise-tmux` (`v0.1.0`) for local multi-version tmux testing
@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.15%. Comparing base (b0c6837) to head (f4af9f7).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1123   +/-   ##
=======================================
  Coverage   82.15%   82.15%           
=======================================
  Files          31       31           
  Lines        2791     2791           
  Branches      525      525           
=======================================
  Hits         2293     2293           
  Misses        355      355           
  Partials      143      143           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace .github/scripts/tmux_build.py with libtmux/setup-tmux

1 participant