Skip to content

ci: run tests on pull requests - #27

Merged
jdx merged 1 commit into
mainfrom
ci/pr-test-suite
Nov 13, 2026
Merged

jdx merged 1 commit into
mainfrom
ci/pr-test-suite

Conversation

@jdx

@jdx jdx commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Run the existing release-notification unit tests and check shell-script syntax on every PR and push to main. This gives Renovate PRs a real executed check instead of relying on skipped reviews or a no-op.

The tests use mocked GitHub responses, so CI does not publish comments, releases, or tags. The workflow has read-only contents access, no persisted checkout credentials, and a five-minute timeout.

Validation

Hosted CI passed at 65f41f7f0b89e136dc4d0f5f6deef0895ca4c0f9: all 17 Python unit tests and bash -n for scripts/*.sh passed. No project code was executed on the host. No branch protections or repository settings changed.

Summary by CodeRabbit

  • Chores
    • Added automated checks for Python unit tests and shell script syntax on pushes to the main branch and pull requests.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request adds a GitHub Actions workflow for pushes to main and pull requests. The workflow runs Python unit-test discovery under scripts and checks the syntax of shell scripts in scripts.

Changes: CI workflow

Layer / File(s) Summary
Workflow triggers and checks
.github/workflows/ci.yml
Adds workflow triggers, read-only repository permissions, concurrency settings, and an Ubuntu job. The job checks out the repository without persisted credentials, runs Python unit tests, and checks shell-script syntax. It has a five-minute timeout.

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

Change: Other

Merge Risk: Minimal · up to 65f41

This adds CI checks for the script unit tests and shell syntax. It does not change production behavior, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "ci: run tests on pull requests" matches the main change. The PR adds a CI workflow that runs on pushes to main and on pull requests. The workflow runs the Python unit tests under scripts an…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "ci: run tests on pull requests" matches the main change. The PR adds a CI workflow that runs on pushes to main and on pull requests. The workflow runs the Python unit tests under scripts and checks scripts/*.sh with bash -n. The title is short and specific, and it uses the conventional commit prefix.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1d251657-2021-41f9-9e4c-288aadf6adb0
Commits

Reviewing files that changed from the base of the PR and between 8cb72d7 and 65f41f7.

Files selected for processing: 1

  • .github/workflows/ci.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Adds CI for pull requests and pushes to main.

  • Pull requests and pushes to main now run Python and shell checks.

No actionable issues found. Review was based on source inspection; no tests or scripts were executed.

Reviews (1) · Last reviewed commit: "ci: run release notification tests on pu..." · Reviewed by Greptile

@jdx
jdx merged commit 7d4c690 into main Nov 13, 2026
6 checks passed
@jdx
jdx deleted the ci/pr-test-suite branch November 13, 2026 23:12
@jdx jdx mentioned this pull request Nov 13, 2026
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