Skip to content

Run the tests on GitHub Actions - #20

Merged
mfazekas merged 2 commits into
masterfrom
ci-github-actions
Nov 9, 2026
Merged

mfazekas merged 2 commits into
masterfrom
ci-github-actions

Conversation

@mfazekas

@mfazekas mfazekas commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

The repo has had no working CI since Travis (configured for Ruby 2.2 and Bundler 1.10). This adds a GitHub Actions workflow running rake test on Ruby 2.6 to 4.0, with ruby-head and JRuby allowed to fail, and removes .travis.yml and the stale .ruby-version. To install and run on current Rubies, the pinned bundler/rake/minitest development dependencies are dropped or loosened and the test uses mocha/minitest and Minitest::Test. No library code changes.

Replace the Travis config (Ruby 2.2, Bundler 1.10) with a GitHub Actions
workflow for Ruby 2.6 to 4.0. Drop the bundler and pinned rake/minitest
development dependencies and use the current mocha and minitest
requires so the tests install and run on current Rubies.
lib/net/ssh/gateway.rb never loaded its version file, so the constant
was only defined when the gemspec had been loaded, e.g. under Bundler
with the gem from a path.
@mfazekas
mfazekas merged commit 5cb1d5f into master Nov 9, 2026
10 checks passed
@mfazekas
mfazekas deleted the ci-github-actions branch November 9, 2026 19:27
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