Skip to content

Explore GitHub Actions for CI Testing of macOS Dotfiles #39

@0xdevalias

Description

@0xdevalias

Explore the viability of using GitHub Actions to add CI-style testing to this dotfiles repo.

Since these dotfiles are primarily for setting up a macOS development environment, the challenge is finding a practical way to test workflows and configuration that are specific to macOS. Potential directions include:

  • Use GitHub Actions' macOS runners to validate setup scripts against a clean environment.
  • Identify which parts of the bootstrap/setup process can be realistically tested in CI (e.g., verifying presence of required binaries, linting configs, validating shell syntax).
  • Consider ways to simulate or stub macOS-specific behaviors that aren’t easily testable in a CI runner.
  • Define a baseline of 'essential' checks vs. more advanced or nice-to-have ones.
  • Ensure that tests run quickly and don’t duplicate effort better spent in manual/VM testing.

The goal is not to make everything 100% testable, but to establish a framework that catches common errors early and improves confidence in changes to the repo.

It's quite likely that we may only want/need to run this for certain 'core' workflows like the bootstrap process/etc; and even then, only when those specific files (or things they reference) change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions