Skip to content

ci: Add GitHub Actions test workflow and local CI testing - #33

Merged
etbyrd merged 4 commits into
mainfrom
feat/github-actions-test-workflow
Sep 2, 2025
Merged

ci: Add GitHub Actions test workflow and local CI testing#33
etbyrd merged 4 commits into
mainfrom
feat/github-actions-test-workflow

Conversation

@poiley

@poiley poiley commented Aug 21, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Adds GitHub Actions workflow to require all tests in tests/ directory to pass before merging
  • Adds ci-local-test command to Makefile for local GitHub Actions testing using act

Changes

  • .github/workflows/test.yml: New workflow that runs installer tests on PRs and pushes to main
  • Makefile: Added ci-local-test command for macOS developers to test CI locally

Testing

The workflow will automatically run the installer tests using Docker, ensuring all tests pass before PRs can be merged.

For local testing, developers can run:

make ci-local-test

⚠️ Warning: Required Setup

To make this a required check for merging, you'll need to:

  1. Go to your repository settings → Branches → Add rule for main branch
  2. Enable "Require status checks to pass before merging"
  3. Add "All Tests Passed" as a required status check

Test Plan

  • Created GitHub Actions workflow
  • Added local testing command with proper error handling
  • Verified workflow syntax and structure
  • Test workflow runs successfully on this PR
  • Configure branch protection rules (manual step)

🤖 Generated with Claude Code

- Add test.yml workflow to run installer tests on PRs and pushes to main
- Add ci-local-test command to Makefile for local GitHub Actions testing using act
- Workflow requires all tests in tests/ directory to pass before merging
- Local testing command is macOS-focused for development workflow

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Comment thread .github/workflows/test.yml Fixed
GitHub Actions runners only include docker compose plugin, not standalone
docker-compose binary. This adds a symlink for backwards compatibility.
@poiley poiley changed the title Add GitHub Actions test workflow and local CI testing ci: Add GitHub Actions test workflow and local CI testing Aug 21, 2025
Added documentation for the new ci-local-test make target in the Local
Development section of README.md for macOS developers to test GitHub
Actions workflows locally using act.
…in permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@etbyrd
etbyrd merged commit a8c2028 into main Sep 2, 2025
5 checks passed
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.

3 participants