Skip to content

Commit

Permalink
Add an Actions workflow for CI against multiple Ruby verisons
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Feb 17, 2025
1 parent daf3221 commit af2cbd1
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Does This Really Belong to GitHub issues?

If you find a bug you understand well, poor default, incorrect or unclear piece of documentation,
or missing feature, please [file an
issue](http://github.com/ruby-amqp/bunny/issues) on GitHub.

Please use [Bunny's mailing list](http://groups.google.com/group/ruby-amqp) for questions,
investigations, and discussions. GitHub issues should be used for specific, well understood, actionable
maintainers and contributors can work on.

When filing an issue, please specify

* Which Bunny and RabbitMQ versions are used
* Recent RabbitMQ log file contents
* Full exception stack traces
* Steps to reproduce or a failing test case

This would greatly help the maintainers help you.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Ruby CI

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version:
- "3.4.2"
- "3.3.7"
- "3.2.7"

steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec -c

0 comments on commit af2cbd1

Please sign in to comment.