Skip to content

Establish Baseline CI Testing Across All Repositories#6

Open
opslevel[bot] wants to merge 1 commit intomainfrom
opslevel-establish_baseline_ci_testing_across_all_repositories-0165b95c
Open

Establish Baseline CI Testing Across All Repositories#6
opslevel[bot] wants to merge 1 commit intomainfrom
opslevel-establish_baseline_ci_testing_across_all_repositories-0165b95c

Conversation

@opslevel
Copy link

@opslevel opslevel bot commented Jan 15, 2026

Summary

This change establishes a baseline continuous integration testing setup for the pager_duty-connection repository. The repository previously had CI configured but it only ran code linting (StandardRB) without any actual tests. This update adds a comprehensive test suite and CI workflow while preserving the existing linting workflow.

Changes Made

Added a complete testing infrastructure using Minitest, the standard Ruby testing framework. Created a test suite with 20 smoke tests that verify basic functionality including module/class definitions, version constants, connection initialization with various parameters, API method availability, and error class definitions. The tests ensure the library can be loaded and initialized correctly without requiring external API calls.

Configured a new GitHub Actions workflow that runs tests on multiple Ruby versions (2.7, 3.0, 3.1, 3.2) for both pull requests and pushes to the main/master branches. The workflow installs dependencies via Bundler and executes the test suite using Rake. Updated the Rakefile to define a test task and set it as the default task.

Added a CI status badge to the README that displays the current test status, and documented the testing approach with clear instructions on how to run tests locally. The existing StandardRB linting workflow remains unchanged and continues to function alongside the new test workflow.

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