Skip to content

ci: add github actions build and test workflow#14

Merged
aagra109 merged 2 commits into
mainfrom
chore/add-ci-workflow
Mar 1, 2026
Merged

ci: add github actions build and test workflow#14
aagra109 merged 2 commits into
mainfrom
chore/add-ci-workflow

Conversation

@aagra109
Copy link
Copy Markdown
Owner

@aagra109 aagra109 commented Mar 1, 2026

Summary by CodeRabbit

  • Chores
    • Added a continuous integration pipeline that runs automated builds, unit tests, and integration tests across Linux and macOS runners.
    • Split into build/unit and integration jobs to improve test coverage and feedback.
    • Jobs run on pull requests with per-job timeouts to keep CI responsive.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 1, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d2beaf4 and cf22f0f.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

Adds a new GitHub Actions CI workflow .github/workflows/ci.yml that runs build-and-unit (matrix: ubuntu-latest, macos-latest) and integration (ubuntu-latest) jobs, performing checkout, dependency install, make build, and respective test targets with 15-minute job timeouts.

Changes

Cohort / File(s) Summary
CI Workflow Configuration
\.github/workflows/ci.yml
New GitHub Actions workflow "CI" with two jobs: build-and-unit (matrix on ubuntu-latest, macos-latest) and integration (ubuntu-latest). Both checkout code, install lsof, run make clean && make; build-and-unit runs make test-unit, integration runs make test-integration. Jobs set contents: read permissions and 15-minute timeouts.

Sequence Diagram(s)

sequenceDiagram
    participant GH as GitHub Actions
    participant Runner as Runner (ubuntu/macos)
    participant Repo as Repository
    participant Shell as Shell / Runner Env
    participant Make as Make targets

    GH->>Runner: trigger CI on pull_request
    Runner->>Repo: actions/checkout@v4 (checkout code)
    Runner->>Shell: install dependencies (e.g., lsof)
    Shell->>Make: make clean && make (build)
    Make->>Make: run tests (make test-unit or make test-integration)
    Make-->>GH: return test results / exit status
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 A tiny hare hops on CI delight,
I checkout, install, build through the night.
Unit tests twirl, integrations hum,
Fifteen-minute sprints — here we come! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a GitHub Actions CI workflow with build and test jobs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/add-ci-workflow

Comment @coderabbitai help to get the list of available commands and usage tips.

@aagra109 aagra109 merged commit 83be545 into main Mar 1, 2026
3 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.

1 participant