Repository navigation
Set up GitHub Actions CI - #45
Merged
Merged
Conversation
Recent commits commented out fish, sketchybar and the mas apps, so the test failed. It now checks packages that are still in the list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs the tests that do not need a Hyprland session on ubuntu-latest and macos-latest. mise installs pinned chezmoi and Ruby versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Homebrew block came after the mise shims, so it put /opt/homebrew/bin first in PATH. Agent shells then ran a Homebrew node or ruby instead of the project version. CI found it: the macOS runner links ruby 3.4.12. The non-agent test now checks only that PATH has no mise shims, because Homebrew can come first there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a CI runner there is no terminal, so zsh -i prints a warning on stderr and the test read it instead of the command output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reads ID from /etc/os-release, like chezmoi does, and skips other systems. Also checks that a dry-run apply renders every template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs the Linux tests in the archlinux container, then sets ID=omarchy in /etc/os-release and runs them again. The test loop moves into .github/scripts/run-tests.sh so that both jobs use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gemini modify script keeps settings.json as it is when jq is missing. The Arch image has no jq, so the test failed with an empty value. The test now says when jq is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/test.yml. It runs the tests intests/for pushes tomaster, for pull requests, and on manual dispatch, on three jobs:ubuntu-latestandmacos-latest. mise installs pinned chezmoi (2.74.1), Ruby 4.0.6 (global) and Ruby 3.4.8.archlinux:latestcontainer. pacman installs chezmoi, mise, zsh and the test tools. The tests run once as Arch, then again afterID=omarchyis set in/etc/os-release(there is no Omarchy image; chezmoi finds Omarchy from that ID)..github/scripts/run-tests.sh, so that the jobs share it.tests/arch-managed.sh: checksis_arch/is_omarchy, which files chezmoi manages on Arch and on Omarchy (Omarchy-only files, files left to Omarchy, no macOS files), and that a dry-run apply renders every template. It skips other systems.dot_zshenv.tmpl, the Homebrew block came after the mise shims block, so/opt/homebrew/bincame first inPATH. Agent shells then ran a Homebrewnode/rubyinstead of the project version (locally: a project pinned to node 22.17.0 got Homebrew node v26.13.1). The Homebrew block now comes first, and a new test checks thePATHorder.tests/mise-bootstrap-darwin.sh. It still looked for fish, sketchybar and the mas apps, which recent commits commented out, so it failed on master.tests/ai-aligned-zsh.shignores the stderr warning thatzsh -iprints when there is no terminal (CI).tests/telemetry-off.shsays whenjqis missing (the gemini modify script needs it).Tests per job
/proc, GNUdate/stat)Test plan
node 22.17.0gets the mise shim, not Homebrew nodearch-managed.shpasses in a local Arch container as Arch and as Omarchy, and fails when.chezmoiignorestops leavingnvimto Omarchy🤖 Generated with Claude Code