Skip to content

Run the test suite on GitHub Actions - #1

Open
facundofarias wants to merge 1 commit into
masterfrom
add-github-actions-ci
Open

Run the test suite on GitHub Actions#1
facundofarias wants to merge 1 commit into
masterfrom
add-github-actions-ci

Conversation

@facundofarias

@facundofarias facundofarias commented Sep 12, 2026

Copy link
Copy Markdown

Fork-side copy of adamcooke/procodile#43, opened here so the workflow actually executes — upstream requires maintainer approval to run Actions on a first-time contributor's fork PR, and that repo has been dormant since 2021.

Validates the Ruby 2.7-3.4 matrix, including 3.0 and 3.1 which weren't available to test locally.

Summary by CodeRabbit

  • Tests
    • Added automated test runs for pushes and pull requests.
    • Added test coverage across supported Ruby versions and Ubuntu environments.

The repository has no CI, so the RSpec suite is only ever run locally and a
change that breaks it can be merged without anyone noticing.

Add a workflow that runs `rspec` on pushes to master and on every pull
request, across Ruby 2.7 through 3.4.

Two notes on the approach:

* The suite is run without Bundler. Procodile has no runtime dependencies
  outside the standard library, and the committed Gemfile.lock pins rspec
  3.5.x (2016), which does not install on current Rubies. Installing rspec
  directly keeps the whole matrix green without needing to change or delete
  the lockfile, which felt out of scope for adding CI.

* Ruby 2.7 runs on ubuntu-22.04 because it is not available on the
  ubuntu-24.04 runner image.

Verified locally against Ruby 2.7.8, 3.2.2, 3.3.8 and 3.4.9 (34 examples,
0 failures on each). 3.0 and 3.1 are included in the matrix but were not
available locally to test.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P89F451YDRDBj5br14i3GD
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T10:49:05.119196Z 1bb14ca PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: 581c4cdf-d8d9-432f-b068-792f483ad160

📥 Commits

Reviewing files that changed from the base of the PR and between 6b86419 and 1bb14ca.

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

Included review availability: 2 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.


Walkthrough

The pull request adds a GitHub Actions workflow. The workflow runs RSpec on pushes to master and on pull requests across Ruby 2.7–3.4 and Ubuntu runners.

Changes

CI testing

Layer / File(s) Summary
RSpec workflow matrix
.github/workflows/tests.yml
The workflow tests multiple Ruby and Ubuntu combinations. It checks out the repository, installs RSpec without the lockfile, and runs rspec -Ilib.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 1bb14

The workflow adds the intended Ruby test matrix without an established merge-blocking issue.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding GitHub Actions to run the test suite.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-github-actions-ci

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

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