Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f21f1e1
feat: add /setup-repo skill for new repository configuration
amcheste Mar 30, 2026
f4462af
feat: add /create-repo skill and update /publish-release for enforce_…
amcheste Mar 30, 2026
544543e
feat: add mascot logo to README (#25)
amcheste Mar 30, 2026
1b6f39a
feat: add missing tools to Brewfile (#26)
amcheste Mar 30, 2026
adbe79e
feat: improve OpenSSF security score — pin deps, add permissions, add…
amcheste Mar 30, 2026
6d6906a
fix: run scorecard on develop branch and add workflow_dispatch (#28)
amcheste Mar 30, 2026
5c0e68f
fix: only publish scorecard results from main branch (#29)
amcheste Mar 30, 2026
da8b3b3
fix: silence gruvbox error on first install and clarify GitHub MCP Do…
amcheste Mar 30, 2026
c66b765
fix: suppress vim pager prompt during plugin install (#38)
amcheste Mar 30, 2026
9da5f0b
fix: suppress all vim output during plugin install (#39)
amcheste Mar 30, 2026
dcce40d
fix: add preflight checks and pre-tap cirruslabs/cli before brew bund…
amcheste Mar 30, 2026
c4f8a37
feat: improve test coverage based on real-world failure scenarios (#41)
amcheste Mar 30, 2026
d98045f
fix: remove pull_request trigger from release-drafter workflow (#42)
amcheste Mar 30, 2026
3ccff80
chore: sync Dependabot SHA bumps from main and fix target branch (#43)
amcheste Mar 31, 2026
6eb303e
fix: detect and reject sudo/root execution before brew runs (#45)
amcheste Apr 2, 2026
200bfcd
fix: replace deprecated octant with k9s (#46) (#47)
amcheste Apr 2, 2026
bd230fc
feat: use macos-15-xlarge runner for VM acceptance test (#49)
amcheste Apr 2, 2026
2220a30
chore: release v1.0.0 (#48)
amcheste Apr 2, 2026
35a8776
chore: sync main into develop, resolve pinned SHA conflicts (#51)
amcheste Apr 2, 2026
9216323
chore: absorb main's divergent Dependabot commits (fix PR #50) (#52)
amcheste Apr 2, 2026
2050b58
fix: revert acceptance test to macos-15 — xlarge runner blocks nested…
amcheste Apr 3, 2026
003472c
fix: replace Tart VM acceptance test with direct macOS runner test (#58)
amcheste Apr 3, 2026
f46fc51
Merge remote-tracking branch 'origin/develop' into release/v1.0.0
amcheste Apr 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: VM Acceptance Test
name: Acceptance Test

on:
workflow_dispatch:
Expand All @@ -16,29 +16,28 @@ permissions:

jobs:
acceptance:
name: VM Acceptance
name: Acceptance
runs-on: macos-15
timeout-minutes: 30
timeout-minutes: 45
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Cache Tart images
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with:
path: ~/.tart
key: tart-sequoia-base-${{ hashFiles('scripts/vm-acceptance-test.sh') }}
restore-keys: tart-sequoia-base-

- name: Install Tart
# Pre-create ~/.secrets so setup.sh skips the interactive credential wizard.
# CI only needs a non-empty ANTHROPIC_API_KEY to satisfy the guard condition.
- name: Pre-create ~/.secrets (CI stub)
run: |
brew install cirruslabs/cli/tart

- name: Install sshpass
run: brew install hudochenkov/sshpass/sshpass

- name: Run VM acceptance test
run: bash scripts/vm-acceptance-test.sh
timeout-minutes: 25
printf 'export ANTHROPIC_API_KEY="ci-dummy"\n' > "$HOME/.secrets"
chmod 600 "$HOME/.secrets"

# Run setup.sh end-to-end on a fresh macOS runner, using the CI Brewfile
# to skip heavy GUI casks. This is functionally equivalent to a real machine
# install — the runner is a clean macOS environment on every job.
- name: Run setup.sh (CI Brewfile)
run: BREWFILE="$GITHUB_WORKSPACE/Brewfile.ci" bash setup.sh
timeout-minutes: 35

- name: Run acceptance tests
run: bash scripts/acceptance-test.sh

- name: Upload logs on failure
if: failure()
Expand Down
9 changes: 5 additions & 4 deletions scripts/acceptance-test.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/usr/bin/env bash
# Acceptance test suite. Runs INSIDE the Tart VM after setup.sh completes.
# Acceptance test suite. Run after setup.sh completes on any macOS machine.
# Works both locally and on GitHub-hosted macOS runners (no VM required).
# Collects all failures before exiting — does not short-circuit on first error.

set -euo pipefail

REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"

# Ensure Homebrew tools are on PATH — this script runs via non-login bash
# so .zprofile is never sourced.
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
Expand Down Expand Up @@ -43,10 +46,8 @@ check "Homebrew prefix is writable" "test -w \"\$(brew --prefix)\""

section "Homebrew"
check "brew is on PATH" "command -v brew"
check "cirruslabs/cli tap is active" "brew tap | grep -q cirruslabs/cli"
check "tart is installed" "command -v tart"
check "no deprecated formulae in Brewfile" \
"! brew bundle check --file=\"\$HOME/Repos/amcheste/mac-dev-setup/Brewfile\" 2>&1 | grep -qi deprecated"
"! brew bundle check --file=\"$REPO_DIR/Brewfile\" 2>&1 | grep -qi deprecated"

# ── Dotfiles ───────────────────────────────────────────────────────────────────

Expand Down
Loading