Skip to content
Posts

CI for dotfiles

Posted on:June 30, 2023 at 10:05 AM

I have been maintaining my dotfiles in a public GitHub repository since 2013. Now, in 2023, I have decided to celebrate the 10-year anniversary of the repository by introducing an automated CI workflow.

Dotfiles CI workflow

The dotfiles are hosted on GitHub, and the CI workflow is implemented using GitHub Actions.

You can find the implementation of the workflow in the docfiles-ci.yml file.

Cross platform testing

CI workflow

The CI workflow includes jobs that run on both macOS and Linux. The test jobs are responsible for ensuring the proper functionality of standard dotfiles installation procedures. Additionally, they perform performance profiling tests, export the results as workflow artifacts, and finally, uninstall the dotfiles.

PR comment message

PR comment

After the successful execution of test jobs, a comment is added to a pull request (PR) with performance measurements of the zsh initialization time to continuously monitor shell performance.